CVE-2021-40565

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-40565
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-40565.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-40565
Downstream
Published
2022-01-12T22:15:07Z
Modified
2025-10-15T13:17:15.564063Z
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 null pointer dereference vulnerability exists in Gpac through 1.0.1 via the gfavcparsenalu function in avparsers.c when using mp4box, 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",
        "deprecated": false,
        "source": "https://github.com/gpac/gpac/commit/893fb99b606eebfae46cde151846a980e689039b",
        "signature_version": "v1",
        "target": {
            "function": "gf_avc_parse_nalu",
            "file": "src/media_tools/av_parsers.c"
        },
        "digest": {
            "function_hash": "335139963073710083307518464564153621026",
            "length": 4132.0
        },
        "id": "CVE-2021-40565-23cf188a"
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "source": "https://github.com/gpac/gpac/commit/893fb99b606eebfae46cde151846a980e689039b",
        "signature_version": "v1",
        "target": {
            "file": "src/media_tools/av_parsers.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "153580916275024851464425229044186991413",
                "89277541988750827498244866193382836173",
                "58821412537713668385346327648233806553",
                "48322499738277173370318441782040572189"
            ]
        },
        "id": "CVE-2021-40565-5f5519ab"
    }
]