CVE-2021-22564
MEDIUM
Published Nov 1, 20214y ago · Modified Jun 17, 20262w ago
5.5 CVSS 3.1
Published Nov 1, 2021 4y ago
Last Modified Jun 17, 2026 2w ago
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
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High
Threat Intelligence
No active exploitation signals — not in CISA KEV and no EPSS score yet.
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 2
CWE-122
CWE-787 Out-of-bounds Write Memory Safety
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| libjxl_project | libjxl | * | ≤0.6.0 |
References 2
- github.com https://github.com/libjxl/libjxl/issues/708
- github.com https://github.com/libjxl/libjxl/pull/775
Remediation
- github.com https://github.com/libjxl/libjxl/pull/775