Stack-based buffer overflow in Libjxl - CVE-2024-11498

 

Stack-based buffer overflow in Libjxl - CVE-2024-11498

Published: July 16, 2025


Vulnerability identifier: #VU113001
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-11498
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when handling JPEG images. A remote unauthenticated attacker can trick the victim into opening a specially crafted image file, trigger a stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Libjxl
Debian Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
Fedora
Desktop Applications Module
SUSE Package Hub 15
openSUSE Leap
Ubuntu
jpeg-xl (Debian package)
jpeg-xl (Ubuntu package)
jpegxl
libjxl-devel
libjxl0_10-32bit
libjxl0_10-32bit-debuginfo
libjxl-tools
libjxl0_10
libjxl0_10-debuginfo
libjxl-tools-debuginfo
libjxl-debugsource
libmozjs-115-0-debuginfo
libmozjs-115-0
mozjs115-debuginfo
mozjs115-debugsource
mozjs115-devel
mozjs115

How to mitigate CVE-2024-11498

Install updates from vendor's website.

Libjxl - addressed in versions 0.7.2, 0.8.4, 0.9.4, 0.10.4, 0.11.1
jpeg-xl (Debian package) - update to 0.7.0-10+deb12u1
jpeg-xl (Ubuntu package) - update to 0.7.0-10.2ubuntu6.1
jpegxl - addressed in versions 0.7.2-1.el8, 0.7.2-2.el9, 0.10.4-1.el10_0, 0.10.4-1.el10_1
libjxl-devel - update to 0.10.3-150700.4.9.1
libjxl0_10-32bit - update to 0.10.3-150700.4.9.1
libjxl0_10-32bit-debuginfo - update to 0.10.3-150700.4.9.1
libjxl-tools - update to 0.10.3-150700.4.9.1
libjxl0_10 - update to 0.10.3-150700.4.9.1
libjxl0_10-debuginfo - update to 0.10.3-150700.4.9.1
libjxl-tools-debuginfo - update to 0.10.3-150700.4.9.1
libjxl-debugsource - update to 0.10.3-150700.4.9.1
libmozjs-115-0-debuginfo - update to 115.4.0-150600.3.6.1
libmozjs-115-0 - update to 115.4.0-150600.3.6.1
mozjs115-debuginfo - update to 115.4.0-150600.3.6.1
mozjs115-debugsource - update to 115.4.0-150600.3.6.1
mozjs115-devel - update to 115.4.0-150600.3.6.1
mozjs115 - update to 115.4.0-150600.3.6.1

External References

Related Security Bulletins