CVEvulnerability
CVE-2021-22564
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-11-01
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 4.5 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 2.1 LOW — AV:L/AC:L/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-122, CWE-787
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
Affected configurations
• libjxl project libjxl (<= 0.6.0)
Related
References
- https://github.com/libjxl/libjxl/issues/708 Exploit, Issue Tracking, Third Party Advisory
- https://github.com/libjxl/libjxl/pull/775 Patch, Third Party Advisory
- https://github.com/libjxl/libjxl/issues/708 Exploit, Issue Tracking, Third Party Advisory
- https://github.com/libjxl/libjxl/pull/775 Patch, Third Party Advisory