Out-of-bounds read in Libjxl - CVE-2021-22563

 

Out-of-bounds read in Libjxl - CVE-2021-22563

Published: November 9, 2021 / Updated: November 25, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to crash the decoding process or potentially expose data from its memory through the rendered image.

The vulnerability exists due to an out-of-bounds read in libjxl's spline renderer when processing an invalid JPEG XL image. A remote attacker can trick a victim into opening a crafted JPEG XL image to crash the decoding process or potentially expose process memory through the rendered splines.


Affected software

Libjxl

How to mitigate CVE-2021-22563

Install security update from vendor's website.

Libjxl - update to 0.6.1

External References

Related Security Bulletins