CVE-2021-22564
published medium CVSS 3.1 · 4.5Out of bounds Copy in Libjxl in large image groups
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Google LLC | — | libjxlunspecified through 0.6.0 | Affected | Not stated |
Description
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.5 / 10
- Severity
- medium
- Provider
- Google · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Google LLC | libjxl | unspecified through 0.6.0 (affected · custom) | Google · cna |
Weaknesses
1- CWE-122 CWE-122 Heap-based Buffer Overflow
References
2Provider assertions
2Google · cna
Out of bounds Copy in Libjxl in large image groups
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ce24f04de7677279cb69eaac6bad8f16fe25be673b74caa980b74b0e5f4a41c6
- Ingested
- 23 Sep 2026, 07:52:45 UTC
- Source record
- Official CVE record