What’s Vulnerable › Vulnerabilities
CVE-2021-22563: Memory Overread in libjxl
- Severity: medium (CVSS 4.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-11-01 · updated 2026-06-17
- Weakness: CWE-126
Description
Invalid JPEG XL images using libjxl can cause an out of bounds access on a std::vector<std::vector<T>> when rendering splines. The OOB read access can either lead to a segfault, or rendering splines based on other process memory. It is recommended to upgrade past 0.6.0 or patch with https://github.com/libjxl/libjxl/pull/757
Affected products
- libjxl: before 0.6.0 — fixed in 0.6.0
How to fix
Upgrade to a fixed version: libjxl 0.6.0. Check the vendor advisory for mitigations.
References
- https://github.com/libjxl/libjxl/issues/735
- https://github.com/libjxl/libjxl/pull/757
- https://github.com/libjxl/libjxl/issues/735
- https://github.com/libjxl/libjxl/pull/757
Get alerted when CVE-2021-22563 or the next vulnerability affects your stack