Skip to content
Fencer Vulns
medium 5.6

CVE-2024-56826 json

Openjpeg: heap buffer overflow in bin/common/color.c

published 2025-01-09 21 mo ago modified 2026-11-05 4 d ago also EUVD-2024-53437

cvss
5.6
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 24%
public exploits
0
none known

Summary

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.

Patch / fix

  • Red Hat Red Hat Enterprise Linux 9 0:2.4.0-8.el9
  • openjpeg2 Debian 12 2.5.0-2+deb12u1
  • openjpeg2 Debian 14, Debian 13 2.5.3-1

debian advisories DEBIAN-CVE-2024-56826

  • openjpeg2 Ubuntu 20.04 LTS 2.3.1-1ubuntu4.20.04.4
  • openjpeg2 Ubuntu 22.04 LTS 2.4.0-6ubuntu0.3
  • openjpeg2 Ubuntu 24.04 LTS 2.5.0-2ubuntu0.3
  • openjpeg2 Ubuntu Pro 16.04 LTS 2.1.2-1.1+deb9u6ubuntu0.1~esm7
  • openjpeg2 Ubuntu Pro 18.04 LTS 2.3.0-2+deb10u2ubuntu0.1~esm4
  • ghostscript Ubuntu Pro 16.04 LTS 9.26~dfsg+0-0ubuntu0.16.04.14+esm9
  • ghostscript Ubuntu Pro 18.04 LTS 9.26~dfsg+0-0ubuntu0.18.04.18+esm4

ubuntu advisories UBUNTU-CVE-2024-56826

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • openjpeg2 RHEL 9 2.4.0-8.el9
  • openjpeg2-tools RHEL 9 2.4.0-8.el9

red hat advisories RHSA-2025:7309

  • openjpeg2 SLE Module for Package Hub 15 SP6, SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 2.3.0-150000.3.18.1
  • openjpeg2 SLES LTSS Extended Security 12 SP5 2.1.0-4.21.1

suse advisories SUSE-SU-2025:0044-1SUSE-SU-2025:0040-1

  • openjpeg2 openSUSE Tumbleweed 2.5.3-2.1

opensuse advisories openSUSE-SU-2025:14620-1

  • openjpeg2 AlmaLinux 9 2.4.0-8.el9
  • openjpeg2-tools AlmaLinux 9 2.4.0-8.el9

almalinux advisories ALSA-2025:7309

  • openjpeg2 Rocky Linux 9 2.4.0-8.el9

rocky linux advisories RLSA-2025:7309

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-56826 updated cvss 5.6

openjpeg: heap buffer overflow in bin/common/color.c

  • Red Hat Enterprise Linux 6 openjpeg, openjpeg-libs Red Hat Enterprise Linux 7 openjpeg, openjpeg2, openjpeg-libs, openjpeg2-tools Red Hat Enterprise Linux 8 openjpeg2, openjpeg2-tools
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux AppStream (v. 9) openjpeg2 2.4.0-8.el9 Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) openjpeg2-tools 2.4.0-8.el9
    fixed: vendor fix RHSA-2025:7309
  • Red Hat Enterprise Linux 10 openjpeg2
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
21 mo ago

Exploit prediction

0.31% chance of exploitation in the next 30 days, higher than 24% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.6 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H

Affected products

  • Red Hat Red Hat Enterprise Linux 9
  • Red Hat Red Hat Enterprise Linux 10
  • Red Hat Red Hat Enterprise Linux 6
  • Red Hat Red Hat Enterprise Linux 7
  • Red Hat Red Hat Enterprise Linux 8

Classification

Weakness
  • CWE-122 Heap-based Buffer Overflow

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.