Medium
Security advisory
The binary MP4Box in Gpac 1.0.1 has a double-free bug in the av1dmx_finalize function in reframe_av1.c, which allows attackers to cause a denial of service.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-40572
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:38 UTC · Revision 1
Source evidence
The binary MP4Box in Gpac 1.0.1 has a double-free bug in the av1dmx_finalize function in reframe_av1.c, which allows attackers to cause a denial of service.
osv:CVE-2021-40572
Complete source record
{
"id": "ecfc955c76eecbba0731a1cf93e28c9d8fb6420948df80f7fb043be230d3db6d",
"url": "https://osv.dev/vulnerability/CVE-2021-40572",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-40572",
"summary": "The binary MP4Box in Gpac 1.0.1 has a double-free bug in the av1dmx_finalize function in reframe_av1.c, which allows attackers to cause a denial of service.",
"evidence": "osv:CVE-2021-40572",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-40572",
"aliases": [
"CVE-2021-40572"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/gpac/gpac",
"type": "GIT",
"events": [
{
"introduced": "d8538e8ae946b32d99c6b2c57cbb327146e9cd9d"
},
{
"last_affected": "d8538e8ae946b32d99c6b2c57cbb327146e9cd9d"
},
{
"fixed": "7bb1b4a4dd23c885f9db9f577dfe79ecc5433109"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gpac:gpac:1.0.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.0.1"
},
{
"last_affected": "1.0.1"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "7bb1b4a4dd23c885f9db9f577dfe79ecc5433109"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"1.0.1",
"v1.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40572.json",
"vanir_signatures": [
{
"id": "CVE-2021-40572-5a4ec229",
"digest": {
"length": 1174,
"function_hash": "94828584391595971665725389765022657673"
},
"source": "https://github.com/gpac/gpac/commit/7bb1b4a4dd23c885f9db9f577dfe79ecc5433109",
"target": {
"file": "src/media_tools/av_parsers.c",
"function": "gf_av1_reset_state"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2021-40572-7e3ae340",
"digest": {
"threshold": 0.9,
"line_hashes": [
"190758511035871044359616509405581482701",
"337463486019059404432073877637465188603",
"234764131504016834923870939924473117663",
"316043205292982520869032266116493173385",
"207165251157113689840433150677131970669",
"83074468117288964414455924109097985828",
"79928491319656174095352217745522536747"
]
},
"source": "https://github.com/gpac/gpac/commit/7bb1b4a4dd23c885f9db9f577dfe79ecc5433109",
"target": {
"file": "src/media_tools/av_parsers.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T14:08:50Z"
}
}
],
"modified": "2026-10-20T14:08:50.411668762Z",
"provider": "osv",
"references": [
"https://www.debian.org/security/2023/dsa-5411",
"https://github.com/gpac/gpac/issues/1893",
"https://github.com/gpac/gpac/commit/7bb1b4a4dd23c885f9db9f577dfe79ecc5433109"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-40572",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388583,
"published_at": "2022-01-13T19:15:08.217+00:00"
}