CVE-2021-40571

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-40571
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40571.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-40571
Downstream
Published
2022-01-13T18:15:08Z
Modified
2025-10-21T06:33:54.923749Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

The binary MP4Box in Gpac 1.0.1 has a double-free vulnerability in the ilstboxread function in boxcodeapple.c, which allows attackers to cause a denial of service, even code execution and escalation of privileges.

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

[
    {
        "source": "https://github.com/gpac/gpac/commit/a69b567b8c95c72f9560c873c5ab348be058f340",
        "target": {
            "function": "gf_odf_av1_cfg_read_bs_size",
            "file": "src/odf/descriptors.c"
        },
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "function_hash": "267599386368034517678407404425567609043",
            "length": 2616.0
        },
        "id": "CVE-2021-40571-a79836d7",
        "signature_version": "v1"
    },
    {
        "source": "https://github.com/gpac/gpac/commit/a69b567b8c95c72f9560c873c5ab348be058f340",
        "target": {
            "file": "src/odf/descriptors.c"
        },
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "167712747624264993690543912685537572073",
                "46605784320911199798118875246953709599",
                "10592338377528693664937670519065565482",
                "14721782883213438859082900364656024061"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2021-40571-f476bab8",
        "signature_version": "v1"
    }
]