CVE-2021-22564: Out of bounds Copy in Libjxl in large image groups

Published Nov 1, 2021
·
Updated

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 Software

1 affected component
Libjxl Project Libjxl<=0.6.0

Event History

Nov 1, 2021
CVE Published
via MITRE·01:10 PM
Data Sourced
via MITRE·01:10 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2021-22564?

CVE-2021-22564 has been classified as a medium severity vulnerability.

2

How do I fix CVE-2021-22564?

To fix CVE-2021-22564, upgrade to version 0.6.1 or later of the Libjxl library.

3

What impact does CVE-2021-22564 have on affected software?

CVE-2021-22564 can lead to potential out-of-bounds memory access which may allow for arbitrary code execution.

4

Are there any workarounds for CVE-2021-22564?

There are no known workarounds for CVE-2021-22564; updating the library is the recommended action.

5

What software versions are affected by CVE-2021-22564?

CVE-2021-22564 affects Libjxl versions up to and including 0.6.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203