CVE-2021-22564

Out of bounds Copy in Libjxl in large image groups

Published Nov 1, 2021 CVSS 3.1 · 4.5 Medium EPSS < 1% KEV · Not listed
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

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-9704 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
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
Google
Published
Updated
Sep 17, 2024, 12:21 AM
Reserved
Jan 5, 2021, 12:00 AM
Status
Modified
Published
Nov 1, 2021, 1:15 PM
Modified
Jun 17, 2026, 3:37 AM