CVE-2021-32135

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-32135
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32135.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-32135
Downstream
Published
2021-09-13T15:15:24Z
Modified
2025-10-14T18:24:25.502764Z
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

The trakboxsize function in GPAC 1.0.1 allows attackers to cause a denial of service (NULL pointer dereference) via a crafted file in the MP4Box command.

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": [
        {
            "signature_version": "v1",
            "signature_type": "Function",
            "target": {
                "file": "src/isomedia/box_code_base.c",
                "function": "trak_box_size"
            },
            "deprecated": false,
            "digest": {
                "length": 770.0,
                "function_hash": "177716631601263422887816959889517703023"
            },
            "id": "CVE-2021-32135-02afd05f",
            "source": "https://github.com/gpac/gpac/commit/b8f8b202d4fc23eb0ab4ce71ae96536ca6f5d3f8"
        },
        {
            "signature_version": "v1",
            "signature_type": "Line",
            "target": {
                "file": "src/isomedia/box_code_base.c"
            },
            "deprecated": false,
            "digest": {
                "line_hashes": [
                    "180982079912359863713092613983514262329",
                    "259171904111037091140515259864588543617",
                    "104134878679528383612431513969623128882",
                    "325562312999389756479242236541877472983"
                ],
                "threshold": 0.9
            },
            "id": "CVE-2021-32135-c6acd99d",
            "source": "https://github.com/gpac/gpac/commit/b8f8b202d4fc23eb0ab4ce71ae96536ca6f5d3f8"
        }
    ]
}