Stack-based buffer overflow in Libjxl - CVE-2024-11498
Published: July 16, 2025
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
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
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
- https://github.com/libjxl/libjxl/pull/3943
- https://github.com/libjxl/libjxl/releases/tag/v0.7.2
- https://github.com/libjxl/libjxl/releases/tag/v0.11.1
- https://github.com/libjxl/libjxl/releases/tag/v0.10.4
- https://github.com/libjxl/libjxl/releases/tag/v0.9.4
- https://github.com/libjxl/libjxl/releases/tag/v0.8.4
Related Security Bulletins
- Multiple vulnerabilities in Libjxl
- Debian update for jpeg-xl
- Ubuntu update for jpeg-xl
- Fedora EPEL 8 update for jpegxl
- Fedora EPEL 9 update for jpegxl
- Fedora EPEL 9 update for jpegxl
- Fedora EPEL 10.1 update for jpegxl
- Fedora EPEL 10.0 update for jpegxl
- SUSE update for libjxl
- SUSE update for mozjs115