CVE-2023-2840

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-2840
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-2840.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-2840
Downstream
Published
2023-05-22T18:15:09Z
Modified
2025-10-16T09:39:32.953620Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

NULL Pointer Dereference in GitHub repository gpac/gpac prior to 2.2.2.

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

v2.*

v2.0.0
v2.2.0

Database specific

vanir_signatures

[
    {
        "signature_type": "Function",
        "id": "CVE-2023-2840-22b48821",
        "source": "https://github.com/gpac/gpac/commit/ba59206b3225f0e8e95a27eff41cb1c49ddf9a37",
        "signature_version": "v1",
        "target": {
            "function": "gf_isom_fragment_add_sample_ex",
            "file": "src/isomedia/movie_fragments.c"
        },
        "digest": {
            "function_hash": "56503999578803041635529562607782204568",
            "length": 6596.0
        },
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "id": "CVE-2023-2840-9f3ba68c",
        "source": "https://github.com/gpac/gpac/commit/ba59206b3225f0e8e95a27eff41cb1c49ddf9a37",
        "signature_version": "v1",
        "target": {
            "file": "src/isomedia/movie_fragments.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "193799008715140920314583314825455928707",
                "281615303708013884846491176245394166985",
                "302990786112712439525339171657253318301",
                "244226688893821349814043649012979099534"
            ]
        },
        "deprecated": false
    }
]