CVE-2023-2840

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-2840
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-2840.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-2840
Downstream
Published
2023-05-22T00:00:00Z
Modified
2025-11-19T19:59:59.595182Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
NULL Pointer Dereference in gpac/gpac
Details

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

Database specific
{
    "cwe_ids": [
        "CWE-476"
    ]
}
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

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