HOMEVULNERABILITIESCVE-2021-22564
MEDIUM

CVE-2021-22564

CWE-122Published: November 1, 2021· Updated: Jun 17, 2026

5.5
CVSS v3.1

Official 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

NVD Source

Technical Analysis

CVE-2021-22564 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

A successful exploit results in availability disruption (denial of service), with a CVSS base score of 5.5.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.Low
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityNone
IntegrityNone
AvailabilityHigh
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected Vendors & Products

libjxl_project1 product(s)
libjxl
Source: NVD CPE · 1 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (4)

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

Quick Facts

CVE IDCVE-2021-22564
CVSS Score5.5 / 10
SeverityMEDIUM
WeaknessCWE-122
CISA KEVNo
Affected1 vendor(s)
PublishedNov 1, 2021

Related CVEs (CWE-122)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2021-22564 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWatch. CVE data is provided under the NVD usage policy.