CVE-2021-40572

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-40572
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-40572.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-40572
Downstream
Published
2022-01-13T19:15:08Z
Modified
2025-10-15T13:17:20.885321Z
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 binary MP4Box in Gpac 1.0.1 has a double-free bug in the av1dmxfinalize function in reframeav1.c, which allows attackers to cause a denial of service.

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

[
    {
        "signature_type": "Function",
        "id": "CVE-2021-40572-5a4ec229",
        "source": "https://github.com/gpac/gpac/commit/7bb1b4a4dd23c885f9db9f577dfe79ecc5433109",
        "signature_version": "v1",
        "target": {
            "function": "gf_av1_reset_state",
            "file": "src/media_tools/av_parsers.c"
        },
        "digest": {
            "function_hash": "94828584391595971665725389765022657673",
            "length": 1174.0
        },
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "id": "CVE-2021-40572-7e3ae340",
        "source": "https://github.com/gpac/gpac/commit/7bb1b4a4dd23c885f9db9f577dfe79ecc5433109",
        "signature_version": "v1",
        "target": {
            "file": "src/media_tools/av_parsers.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "190758511035871044359616509405581482701",
                "337463486019059404432073877637465188603",
                "234764131504016834923870939924473117663",
                "316043205292982520869032266116493173385",
                "207165251157113689840433150677131970669",
                "83074468117288964414455924109097985828",
                "79928491319656174095352217745522536747"
            ]
        },
        "deprecated": false
    }
]