CVE-2021-40592

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-40592
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-40592.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-40592
Downstream
Published
2022-06-08T18:15:08Z
Modified
2025-09-19T13:13:44.670233Z
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, isoffinread.c. Function isoffinprocess() 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

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/71460d72ec07df766dab0a4d52687529f3efcf0a",
            "signature_version": "v1",
            "deprecated": false,
            "signature_type": "Function",
            "target": {
                "file": "src/filters/isoffin_read_ch.c",
                "function": "isor_reader_get_sample"
            },
            "digest": {
                "function_hash": "202191313209902171335378986350380797408",
                "length": 9072.0
            },
            "id": "CVE-2021-40592-17508495"
        },
        {
            "source": "https://github.com/gpac/gpac/commit/71460d72ec07df766dab0a4d52687529f3efcf0a",
            "signature_version": "v1",
            "deprecated": false,
            "signature_type": "Function",
            "target": {
                "file": "src/filters/isoffin_read.c",
                "function": "isoffin_process"
            },
            "digest": {
                "function_hash": "141052902239343278485534183727623172022",
                "length": 9019.0
            },
            "id": "CVE-2021-40592-1ecfb922"
        },
        {
            "source": "https://github.com/gpac/gpac/commit/71460d72ec07df766dab0a4d52687529f3efcf0a",
            "signature_version": "v1",
            "deprecated": false,
            "signature_type": "Line",
            "target": {
                "file": "src/filters/isoffin_read_ch.c"
            },
            "digest": {
                "line_hashes": [
                    "217346045157420343689342954955354570760",
                    "28429304569143555352521589664605251870",
                    "19564312157577017485839088500722397301",
                    "248506551501105414112911258771177395436"
                ],
                "threshold": 0.9
            },
            "id": "CVE-2021-40592-47f27bea"
        },
        {
            "source": "https://github.com/gpac/gpac/commit/71460d72ec07df766dab0a4d52687529f3efcf0a",
            "signature_version": "v1",
            "deprecated": false,
            "signature_type": "Line",
            "target": {
                "file": "src/filters/isoffin_read.c"
            },
            "digest": {
                "line_hashes": [
                    "269607663013451237892082978423129001957",
                    "78264318460833771803993246514488890513",
                    "216475824157634277260477925796926446347",
                    "249496714320650266986933671096981724511"
                ],
                "threshold": 0.9
            },
            "id": "CVE-2021-40592-c88a80ee"
        }
    ]
}