CVE-2021-22564
Last modified
CVE-2021-22564 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.30% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Libjxl Project | Libjxl | <= 0.6.0 |
References
- https://github.com/libjxl/libjxl/issues/708Exploit, Issue Tracking, Third Party Advisory
- https://github.com/libjxl/libjxl/pull/775Patch, Third Party Advisory
- https://github.com/libjxl/libjxl/issues/708Exploit, Issue Tracking, Third Party Advisory
- https://github.com/libjxl/libjxl/pull/775Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-22564?
How severe is CVE-2021-22564?
How do I fix CVE-2021-22564?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-22553Any git operation is passed through Jetty and a session is c…7.5
- CVE-2021-22555A heap out-of-bounds write affecting Linux since v2.6.19-rc1…7.8
- CVE-2021-22556The Security Team discovered an integer overflow bug that al…7.8
- CVE-2021-22557SLO generator allows for loading of YAML files that if craft…7.8
- CVE-2021-2256Vulnerability in the Oracle Storage Cloud Software Appliance…10
- CVE-2021-22563Invalid JPEG XL images using libjxl can cause an out of boun…4.4
- CVE-2021-22565An attacker could prematurely expire a verification code, ma…6.5
- CVE-2021-22566An incorrect setting of UXN bits within mmu_flags_to_s1_pte_…9.8
- CVE-2021-22567Bidirectional Unicode text can be interpreted and compiled d…3.5
- CVE-2021-22568When using the dart pub publish command to publish a package…8.8
- CVE-2021-22569An issue in protobuf-java allowed the interleaving of com.go…5.5
- CVE-2021-2257Vulnerability in the Oracle Storage Cloud Software Appliance…4.1
Are you affected by CVE-2021-22564?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
