Medium
Security advisory
GPAC version before commit 71460d72ec07df766dab0a4d52687529f3efcf0a (version v1.0.1 onwards) contains loop with unreachable exit condition ('infinite loop') vulnerability in ISOBMFF reader filter, isoffin_read.c. Function isoffin_process() can result in DoS by infinite loop. To exploit, the victim must open a specially crafted mp4 file.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-40592
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:53 UTC · Revision 1
Source evidence
GPAC version before commit 71460d72ec07df766dab0a4d52687529f3efcf0a (version v1.0.1 onwards) contains loop with unreachable exit condition ('infinite loop') vulnerability in ISOBMFF reader filter, isoffin_read.c. Function isoffin_process() can result in DoS by infinite loop. To exploit, the victim must open a specially crafted mp4 file.
osv:CVE-2021-40592
Complete source record
{
"id": "9db6995e0595714d73fb37c852e7b2181ec9eaae286a0dab31a5a7d5f735f1db",
"url": "https://osv.dev/vulnerability/CVE-2021-40592",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-40592",
"summary": "GPAC version before commit 71460d72ec07df766dab0a4d52687529f3efcf0a (version v1.0.1 onwards) contains loop with unreachable exit condition ('infinite loop') vulnerability in ISOBMFF reader filter, isoffin_read.c. Function isoffin_process() can result in DoS by infinite loop. To exploit, the victim must open a specially crafted mp4 file.",
"evidence": "osv:CVE-2021-40592",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-40592",
"aliases": [
"CVE-2021-40592"
],
"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": "0"
},
{
"fixed": "d8538e8ae946b32d99c6b2c57cbb327146e9cd9d"
},
{
"fixed": "71460d72ec07df766dab0a4d52687529f3efcf0a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gpac:gpac:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.0.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "71460d72ec07df766dab0a4d52687529f3efcf0a"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v1.0.0",
"v0.9.0",
"v0.9.0-preview",
"v0.7.1",
"v0.7.0",
"v0.6.0",
"v0.5.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40592.json",
"vanir_signatures": [
{
"id": "CVE-2021-40592-17508495",
"digest": {
"length": 9072,
"function_hash": "202191313209902171335378986350380797408"
},
"source": "https://github.com/gpac/gpac/commit/71460d72ec07df766dab0a4d52687529f3efcf0a",
"target": {
"file": "src/filters/isoffin_read_ch.c",
"function": "isor_reader_get_sample"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2021-40592-1ecfb922",
"digest": {
"length": 9019,
"function_hash": "141052902239343278485534183727623172022"
},
"source": "https://github.com/gpac/gpac/commit/71460d72ec07df766dab0a4d52687529f3efcf0a",
"target": {
"file": "src/filters/isoffin_read.c",
"function": "isoffin_process"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2021-40592-47f27bea",
"digest": {
"threshold": 0.9,
"line_hashes": [
"217346045157420343689342954955354570760",
"28429304569143555352521589664605251870",
"19564312157577017485839088500722397301",
"248506551501105414112911258771177395436"
]
},
"source": "https://github.com/gpac/gpac/commit/71460d72ec07df766dab0a4d52687529f3efcf0a",
"target": {
"file": "src/filters/isoffin_read_ch.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2021-40592-c88a80ee",
"digest": {
"threshold": 0.9,
"line_hashes": [
"269607663013451237892082978423129001957",
"78264318460833771803993246514488890513",
"216475824157634277260477925796926446347",
"249496714320650266986933671096981724511"
]
},
"source": "https://github.com/gpac/gpac/commit/71460d72ec07df766dab0a4d52687529f3efcf0a",
"target": {
"file": "src/filters/isoffin_read.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T14:29:54Z"
}
}
],
"modified": "2026-10-20T14:29:54.080063654Z",
"provider": "osv",
"references": [
"https://www.debian.org/security/2023/dsa-5411",
"https://github.com/gpac/gpac/issues/1876",
"https://github.com/gpac/gpac/commit/71460d72ec07df766dab0a4d52687529f3efcf0a"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-40592",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 389085,
"published_at": "2022-06-08T18:15:08.173+00:00"
}