CVE-2021-40592

Source
https://cve.org/CVERecord?id=CVE-2021-40592
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40592.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-40592
Downstream
Published
2022-06-08T18:15:08Z
Modified
2026-08-07T16:58:10Z
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

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.

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
Fixed
Database specific
Show details
{
    "cpe": "cpe:2.3:a:gpac:gpac:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.0.1"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

v0.*
v0.5.2
v0.6.0
v0.7.0
v0.7.1
v0.9.0
v0.9.0-preview
v1.*
v1.0.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40592.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "202191313209902171335378986350380797408",
            "length": 9072
        },
        "id": "CVE-2021-40592-17508495",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/gpac/gpac/commit/71460d72ec07df766dab0a4d52687529f3efcf0a",
        "target": {
            "file": "src/filters/isoffin_read_ch.c",
            "function": "isor_reader_get_sample"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "141052902239343278485534183727623172022",
            "length": 9019
        },
        "id": "CVE-2021-40592-1ecfb922",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/gpac/gpac/commit/71460d72ec07df766dab0a4d52687529f3efcf0a",
        "target": {
            "file": "src/filters/isoffin_read.c",
            "function": "isoffin_process"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "217346045157420343689342954955354570760",
                "28429304569143555352521589664605251870",
                "19564312157577017485839088500722397301",
                "248506551501105414112911258771177395436"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2021-40592-47f27bea",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/gpac/gpac/commit/71460d72ec07df766dab0a4d52687529f3efcf0a",
        "target": {
            "file": "src/filters/isoffin_read_ch.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "269607663013451237892082978423129001957",
                "78264318460833771803993246514488890513",
                "216475824157634277260477925796926446347",
                "249496714320650266986933671096981724511"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2021-40592-c88a80ee",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/gpac/gpac/commit/71460d72ec07df766dab0a4d52687529f3efcf0a",
        "target": {
            "file": "src/filters/isoffin_read.c"
        }
    }
]
vanir_signatures_modified
"2026-08-07T16:58:10Z"