CVE-2021-22564

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
References
Link Resource
https://github.com/libjxl/libjxl/issues/708 Exploit Issue Tracking Third Party Advisory
https://github.com/libjxl/libjxl/pull/775 Patch Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:libjxl_project:libjxl:*:*:*:*:*:*:*:*

History

02 Nov 2021, 18:52

Type Values Removed Values Added
CWE CWE-787
References (CONFIRM) https://github.com/libjxl/libjxl/pull/775 - (CONFIRM) https://github.com/libjxl/libjxl/pull/775 - Patch, Third Party Advisory
References (CONFIRM) https://github.com/libjxl/libjxl/issues/708 - (CONFIRM) https://github.com/libjxl/libjxl/issues/708 - Exploit, Issue Tracking, Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : 2.1
v3 : 5.5
CPE cpe:2.3:a:libjxl_project:libjxl:*:*:*:*:*:*:*:*

01 Nov 2021, 13:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-11-01 13:15

Updated : 2023-12-10 14:09


NVD link : CVE-2021-22564

Mitre link : CVE-2021-22564

CVE.ORG link : CVE-2021-22564


JSON object : View

Products Affected

libjxl_project

  • libjxl
CWE
CWE-787

Out-of-bounds Write

CWE-122

Heap-based Buffer Overflow