CVE-2021-31261

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-31261
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31261.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-31261
Downstream
Published
2021-04-19T19:15:18Z
Modified
2025-10-21T06:21:53.951393Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

The gfhintertrack_new function in GPAC 1.0.1 allows attackers to read memory 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

vanir_signatures

[
    {
        "id": "CVE-2021-31261-767bf8e2",
        "source": "https://github.com/gpac/gpac/commit/cd3738dea038dbd12e603ad48cd7373ae0440f65",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "function_hash": "19045419256369189884110592240387149238",
            "length": 10445.0
        },
        "target": {
            "function": "gf_hinter_track_new",
            "file": "src/media_tools/isom_hinter.c"
        }
    },
    {
        "id": "CVE-2021-31261-7e62edb1",
        "source": "https://github.com/gpac/gpac/commit/cd3738dea038dbd12e603ad48cd7373ae0440f65",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "268791460410606189408267462050628520881",
                "255859782797333951163588019934011951393",
                "309834393627863696259485415259523599868",
                "59311716934764619028298879539731232551",
                "129689765466144154401769735015106002408"
            ]
        },
        "target": {
            "file": "src/media_tools/isom_hinter.c"
        }
    }
]