Integer underflow in Libjxl - CVE-2023-35790

 

Integer underflow in Libjxl - CVE-2023-35790

Published: July 16, 2025


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

Vulnerability details

The vulnerability allows a remote attacker to crash the application.

The vulnerability exists due to integer underflow in dec_patch_dictionary.cc. A remote attacker can trick the victim into opening a specially crafted file, trigger an integer underflow and crash the application.


Affected software

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

How to mitigate CVE-2023-35790

Install updates from vendor's website.

Libjxl - update to 0.8.2
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