Out-of-bounds read in Libjxl - CVE-2023-0645

 

Out-of-bounds read in Libjxl - CVE-2023-0645

Published: July 16, 2025


Vulnerability identifier: #VU112997
CSH Severity: Medium
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-0645
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition when handling EXIF files. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger an out-of-bounds read error and read contents of memory on the system.


Affected software

Libjxl
Debian Linux
Ubuntu
jpeg-xl (Debian package)
jpeg-xl (Ubuntu package)

How to mitigate CVE-2023-0645

Install updates from vendor's website.

Libjxl - update to 0.8.1
jpeg-xl (Debian package) - update to 0.7.0-10+deb12u1
jpeg-xl (Ubuntu package) - update to 0.7.0-10.2ubuntu6.1

External References

Related Security Bulletins