# CVE-2024-56826: Openjpeg: heap buffer overflow in bin/common/color.c

- Severity: Medium 5.6 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2025-01-09T03:40:24.613Z
- Modified: 2026-11-24T06:17:03.370Z
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- openjpeg: no versions given (not affected: from 2.5.3 before *)
- openjpeg2: no versions given (not affected: from 0:2.4.0-8.el9 before *)
- gimp:flatpak/openjpeg2: no versions given

## References

- <https://access.redhat.com/errata/RHSA-2025:7309> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2024-56826> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2335172> (issue-tracking)
- <https://github.com/uclouvain/openjpeg/commit/e492644fbded4c820ca55b5e50e598d346e850e8>
- <https://github.com/uclouvain/openjpeg/issues/1563>
- <https://lists.debian.org/debian-lts-announce/2025/04/msg00002.html>

## Sources

- CVE List: [CVE-2024-56826](https://www.cve.org/CVERecord?id=CVE-2024-56826), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2024-56826](https://nvd.nist.gov/vuln/detail/CVE-2024-56826), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2024-56826 · Whole record: https://cve.day/CVE-2024-56826.json · Rebuilt by cve.day 2026-11-25T22:58:50.840Z
