CVE-2021-40576

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-40576
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-40576.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-40576
Downstream
Published
2022-01-13T19:15:08Z
Modified
2025-10-15T13:17:09.683923Z
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 binary MP4Box in Gpac 1.0.1 has a null pointer dereference vulnerability in the gfisomgetpaytcount function in hint_track.c, which allows attackers to cause a denial of service.

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/ad18ece95fa064efc0995c4ab2c985f77fb166ec",
        "deprecated": false,
        "digest": {
            "function_hash": "64669718982500005998952664897227464772",
            "length": 460.0
        },
        "target": {
            "file": "src/isomedia/hint_track.c",
            "function": "GetHintFormat"
        },
        "id": "CVE-2021-40576-642b86cc",
        "signature_type": "Function",
        "signature_version": "v1"
    },
    {
        "source": "https://github.com/gpac/gpac/commit/ad18ece95fa064efc0995c4ab2c985f77fb166ec",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "213132367431935810995875342538304866537",
                "69422952422666335137015309587630551427",
                "154475117685622613766551368937792949715",
                "247987700451396011635532392404281105653"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "src/isomedia/hint_track.c"
        },
        "id": "CVE-2021-40576-e15d50ed",
        "signature_type": "Line",
        "signature_version": "v1"
    }
]