CVE-2024-56826

Source
https://cve.org/CVERecord?id=CVE-2024-56826
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56826.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-56826
Downstream
Related
Published
2025-01-09T03:40:24.613Z
Modified
2026-05-19T06:58:40.483194Z
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
Openjpeg: heap buffer overflow in bin/common/color.c
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.

Database specific
{
    "cwe_ids": [
        "CWE-122"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56826.json",
    "cna_assigner": "redhat"
}
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
Database specific
{
    "source": "REFERENCES"
}

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
[
    {
        "source": "https://github.com/uclouvain/openjpeg/commit/e492644fbded4c820ca55b5e50e598d346e850e8",
        "signature_version": "v1",
        "target": {
            "file": "src/lib/openjp2/j2k.c"
        },
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "28418849628522301618374514485340257261",
                "65408979627220108443777868020503841173",
                "319813844001325523217530536602563674936",
                "146437935206911265118418242331132350205"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2024-56826-b43f6bae"
    },
    {
        "source": "https://github.com/uclouvain/openjpeg/commit/e492644fbded4c820ca55b5e50e598d346e850e8",
        "signature_version": "v1",
        "target": {
            "function": "opj_j2k_add_tlmarker",
            "file": "src/lib/openjp2/j2k.c"
        },
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "length": 1431.0,
            "function_hash": "293699255173430293670766210826467402271"
        },
        "id": "CVE-2024-56826-d951482e"
    }
]
vanir_signatures_modified
"2026-05-19T06:58:40Z"
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56826.json"