CVE-2024-56827

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-56827
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56827.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-56827
Downstream
Related
Published
2025-01-09T04:15:12Z
Modified
2025-10-17T19:05:49.660569Z
Severity
  • 5.6 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H CVSS Calculator
Summary
[none]
Details

A flaw was found in the OpenJPEG project. A heap buffer overflow condition may be triggered when certain options are specified while using the opj_decompress utility. This can lead to an application crash or other undefined behavior.

References

Affected packages

Git / github.com/uclouvain/openjpeg

Affected ranges

Type
GIT
Repo
https://github.com/uclouvain/openjpeg
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v2.*

v2.2.0
v2.3.0
v2.3.1
v2.4.0
v2.5.0
v2.5.1
v2.5.2

Database specific

vanir_signatures

[
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "28418849628522301618374514485340257261",
                "65408979627220108443777868020503841173",
                "319813844001325523217530536602563674936",
                "146437935206911265118418242331132350205"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "source": "https://github.com/uclouvain/openjpeg/commit/e492644fbded4c820ca55b5e50e598d346e850e8",
        "target": {
            "file": "src/lib/openjp2/j2k.c"
        },
        "id": "CVE-2024-56827-b43f6bae",
        "signature_version": "v1"
    },
    {
        "deprecated": false,
        "digest": {
            "length": 1431.0,
            "function_hash": "293699255173430293670766210826467402271"
        },
        "signature_type": "Function",
        "source": "https://github.com/uclouvain/openjpeg/commit/e492644fbded4c820ca55b5e50e598d346e850e8",
        "target": {
            "file": "src/lib/openjp2/j2k.c",
            "function": "opj_j2k_add_tlmarker"
        },
        "id": "CVE-2024-56827-d951482e",
        "signature_version": "v1"
    }
]