CVE-2021-31259

Source
https://cve.org/CVERecord?id=CVE-2021-31259
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-31259.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-31259
Downstream
Published
2021-04-19T19:15:18.373Z
Modified
2025-11-14T11:50:33.577613Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

The gfisomcencgetdefaultinfointernal function in GPAC 1.0.1 allows attackers to cause a denial of service (NULL pointer dereference) via a crafted file in the MP4Box command.

References

Affected packages

Git / github.com/gpac/gpac

Affected ranges

Type
GIT
Repo
https://github.com/gpac/gpac
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.5.2
v0.6.0
v0.6.1
v0.7.0
v0.7.1
v0.8.0
v0.9.0
v0.9.0-preview

v1.*

v1.0.0
v1.0.1

Database specific

source

"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-31259.json"

vanir_signatures

[
    {
        "source": "https://github.com/gpac/gpac/commit/3b84ffcbacf144ce35650df958432f472b6483f8",
        "id": "CVE-2021-31259-118d900e",
        "signature_type": "Function",
        "signature_version": "v1",
        "target": {
            "file": "src/isomedia/drm_sample.c",
            "function": "gf_isom_cenc_get_default_info_internal"
        },
        "deprecated": false,
        "digest": {
            "function_hash": "194900872968720504231064561781610806919",
            "length": 3346.0
        }
    },
    {
        "source": "https://github.com/gpac/gpac/commit/3b84ffcbacf144ce35650df958432f472b6483f8",
        "id": "CVE-2021-31259-6af4de61",
        "signature_type": "Line",
        "signature_version": "v1",
        "target": {
            "file": "src/isomedia/drm_sample.c"
        },
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "136990590939125206256389029610438661067",
                "45083827786965863177665328271459477456",
                "186912125732759054483704277177209138439",
                "241148111799687164755509678443587502638"
            ],
            "threshold": 0.9
        }
    }
]