CVE-2024-56827 json
Openjpeg: heap buffer overflow in lib/openjp2/j2k.c
published 2025-01-09 21 mo ago modified 2026-11-05 4 d ago also EUVD-2024-53438
- 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 17%
- 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-56827
- 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-56827
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 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-56827 updated cvss 5.6
openjpeg: heap buffer overflow in lib/openjp2/j2k.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-toolsaffected: 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.el9fixed: vendor fix RHSA-2025:7309
-
Red Hat Enterprise Linux 10 openjpeg2not 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.26% chance of exploitation in the next 30 days, higher than 17% 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
- github.com /uclouvain/openjpeg/commit/e492644fbded4c820ca55b5e50e598d346e850e8
-
access.redhat.com
/errata/RHSA-2025:7309
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2024-56827
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2335174
issue-tracking
- github.com /uclouvain/openjpeg/issues/1564
- lists.debian.org /debian-lts-announce/2025/04/msg00002.html
Sources
- CVE List CVE-2024-56827
- NVD CVE-2024-56827
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.