CVE-2021-22564CWE-122

Out of bounds Copy in Libjxl in large image groups

Medium · published November 1, 2021

CVSS v3.1
4.5
EPSS
0%
Percentile
22.7
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
4.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00311 · 22.7th percentile
Weakness
CWE-122 · Heap-based Buffer Overflow
Published
2021-11-01T13:10Z
EPSS history
Timeline
  • 01 NOV 13:10Z
    Out of bounds Copy in Libjxl in large image groups
    cvelistv5