PT-2021-15143 · Libjxl · Libjxl
Deymo
·
Published
2021-11-01
·
Updated
2021-11-02
·
CVE-2021-22564
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
libjxl versions prior to 0.6.0
Description
The issue arises when processing certain valid JPEG XL images with a size slightly larger than an integer number of groups (256x256 pixels) out of order. This can lead to an out of bounds copy of image pixels from an image buffer in the heap to another, particularly when processing the right or bottom edges of the image. The out of order processing can occur in multi-threaded decoding environments with heavy thread load or with images that contain groups in an arbitrary order in the file.
Recommendations
For versions prior to 0.6.0, it is recommended to upgrade past 0.6.0 to resolve the issue. As a temporary workaround, consider restricting the use of multi-threaded decoding environments or avoiding images with groups in an arbitrary order until a patch is applied.
Exploit
Fix
Heap Based Buffer Overflow
Memory Corruption
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Libjxl