CVE-2021-40562

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-40562
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-40562.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-40562
Downstream
Published
2022-01-12T22:15:07Z
Modified
2025-10-15T13:17:08.906549Z
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

A Segmentation fault caused by a floating point exception exists in Gpac through 1.0.1 using mp4box via the naludmxenqueueordispatch function in reframenalu.c, which causes 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

[
    {
        "signature_type": "Function",
        "id": "CVE-2021-40562-808dadcc",
        "source": "https://github.com/gpac/gpac/commit/5dd71c7201a3e5cf40732d585bfb21c906c171d3",
        "signature_version": "v1",
        "target": {
            "function": "naludmx_create_avc_decoder_config",
            "file": "src/filters/reframe_nalu.c"
        },
        "digest": {
            "function_hash": "222909125538054554142696760066351192249",
            "length": 4834.0
        },
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "id": "CVE-2021-40562-861a6994",
        "source": "https://github.com/gpac/gpac/commit/5dd71c7201a3e5cf40732d585bfb21c906c171d3",
        "signature_version": "v1",
        "target": {
            "file": "src/filters/reframe_nalu.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "111753558529549020020712736279529203355",
                "312475701619028868588341076389345054319",
                "210095339424249211427502420724033199260",
                "306106039706621833680095253597863398070",
                "83200840015914086248955994616472368455",
                "125570266520436794753878286141420955597"
            ]
        },
        "deprecated": false
    }
]