CVE-2021-22564
CVE-2021-22564 — Out of bounds Copy in Libjxl in large image groups
For certain valid JPEG XL images with a size slightly larger than an integer number of groups (256x256 pixels) when processing the groups out of order the decoder can perform an out of bounds copy of image pixels from an image buffer in the heap to another. This copy can occur when processing the right or bottom edges of the image, but only when groups are processed in certain order. Groups can be processed out of order in multi-threaded decoding environments with heavy thread load but also with images that contain the groups in an arbitrary order in the file. It is recommended to upgrade past 0.6.0 or patch with https://github.com/libjxl/libjxl/pull/775
Published Updated Sources: cvelistV5, Google
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
4.5
MEDIUM
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 4.5 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-122
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching //github.com/libjxl/libjxl/pull/775.
References
2 on the record
- github.com/libjxl/libjxl/pull/775
x_refsource_MISC
- github.com/libjxl/libjxl/issues/708
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-94127 BIG-IP APM OAuth vulnerabilityCVSS 9.8 · CISA KEV
- CVE-2025-25249 Fortinet Multiple Products Heap-based Buffer Overflow VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2024-38812 VMware vCenter Server Heap-Based Buffer Overflow VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2024-37079 Broadcom VMware vCenter Server Out-of-bounds Write VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2023-27997 Fortinet FortiOS and FortiProxy SSL-VPN Heap-Based Buffer Overflow VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2019-3568 WhatsApp VOIP Stack Buffer Overflow VulnerabilityCVSS 9.8 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.