Vulnerability · Published Jan 9, 2025 · Assigned by redhat

CVE-2024-56827Openjpeg: heap buffer overflow in lib/openjp2/j2k.c

Medium 5.6

In plain English

A medium-severity heap buffer overflow in openjpeg. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.6Medium
Exploit odds (30 days)0.3%top 82.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:9openjpeg22.4.0-8.el9ALSA-2025:7309
AlmaLinux:9openjpeg2-devel2.4.0-8.el9ALSA-2025:7309
AlmaLinux:9openjpeg2-tools2.4.0-8.el9ALSA-2025:7309
Debian:12openjpeg22.5.0-2+deb12u1DEBIAN-CVE-2024-56827
Debian:12openjpeg22.5.0-2+deb12u1DSA-5851-1
Debian:13openjpeg22.5.3-1DEBIAN-CVE-2024-56827
Debian:14openjpeg22.5.3-1DEBIAN-CVE-2024-56827
Rocky Linux:9openjpeg20:2.4.0-8.el9RLSA-2025:7309
Ubuntu:22.04:LTSblenderno fix listedUBUNTU-CVE-2024-56827
Ubuntu:24.04:LTSblenderno fix listedUBUNTU-CVE-2024-56827
Ubuntu:25.10blenderno fix listedUBUNTU-CVE-2024-56827
Ubuntu:26.04:LTSblenderno fix listedUBUNTU-CVE-2024-56827
Ubuntu:26.10blenderno fix listedUBUNTU-CVE-2024-56827
Ubuntu:22.04:LTSghostscript9.55.0~dfsg1-0ubuntu5.12USN-7623-1
Ubuntu:24.04:LTSghostscript10.02.1~dfsg1-0ubuntu7.7USN-7623-1
Ubuntu:22.04:LTSinsighttoolkit4no fix listedUBUNTU-CVE-2024-56827
Ubuntu:22.04:LTSopenjpeg22.4.0-6ubuntu0.3UBUNTU-CVE-2024-56827
Ubuntu:22.04:LTSopenjpeg22.4.0-6ubuntu0.3USN-7223-1
Ubuntu:24.04:LTSopenjpeg22.5.0-2ubuntu0.3UBUNTU-CVE-2024-56827
Ubuntu:24.04:LTSopenjpeg22.5.0-2ubuntu0.3USN-7223-1
Ubuntu:25.10qtwebengine-opensource-srcno fix listedUBUNTU-CVE-2024-56827
Ubuntu:26.10qtwebengine-opensource-srcno fix listedUBUNTU-CVE-2024-56827
Ubuntu:25.10texmakerno fix listedUBUNTU-CVE-2024-56827
Ubuntu:26.04:LTStexmakerno fix listedUBUNTU-CVE-2024-56827
Ubuntu:26.10texmakerno fix listedUBUNTU-CVE-2024-56827

Affected products (as reported)

VendorProductVersions
openjpeg see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 10 see references
Red Hat Red Hat Enterprise Linux 6 see references
Red Hat Red Hat Enterprise Linux 7 see references
Red Hat Red Hat Enterprise Linux 7 see references
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 8 see references

Weakness: CWE-122 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H

References