CVE-2021-40571

Source
https://cve.org/CVERecord?id=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:08.113Z
Modified
2026-07-09T01:07:14.969011Z
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
Database specific
{
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:gpac:gpac:1.0.1:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "1.0.1"
        },
        {
            "last_affected": "1.0.1"
        }
    ]
}

Affected versions

1.*
1.0.1
v1.*
v1.0.1

Database specific

vanir_signatures_modified
"2026-07-09T01:07:14Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40571.json"
vanir_signatures
[
    {
        "id": "CVE-2021-40571-a79836d7",
        "digest": {
            "function_hash": "267599386368034517678407404425567609043",
            "length": 2616.0
        },
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/gpac/gpac/commit/a69b567b8c95c72f9560c873c5ab348be058f340",
        "deprecated": false,
        "target": {
            "function": "gf_odf_av1_cfg_read_bs_size",
            "file": "src/odf/descriptors.c"
        }
    },
    {
        "id": "CVE-2021-40571-f476bab8",
        "digest": {
            "line_hashes": [
                "167712747624264993690543912685537572073",
                "46605784320911199798118875246953709599",
                "10592338377528693664937670519065565482",
                "14721782883213438859082900364656024061"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/gpac/gpac/commit/a69b567b8c95c72f9560c873c5ab348be058f340",
        "deprecated": false,
        "target": {
            "file": "src/odf/descriptors.c"
        }
    }
]