CVE-2021-22564

Source
https://cve.org/CVERecord?id=CVE-2021-22564
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-22564.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-22564
Published
2021-11-01T13:15:07.713Z
Modified
2025-11-14T11:27:47.735645Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

Affected packages

Git / github.com/libjxl/libjxl

Affected ranges

Type
GIT
Repo
https://github.com/libjxl/libjxl
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected

Affected versions

v0.*
v0.1
v0.1.0
v0.1.1
v0.2
v0.2.0
v0.3
v0.3.0
v0.3.1
v0.3.2
v0.3.3
v0.3.4
v0.3.5
v0.3.6
v0.3.7
v0.5-base
v0.6
v0.6-base
v0.6.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-22564.json"