SB2022010103 - Multiple vulnerabilities in Libjxl



SB2022010103 - Multiple vulnerabilities in Libjxl

Published: January 1, 2022 Updated: November 25, 2026

Security Bulletin ID SB2022010103
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 3
Exploitation vector Local access
Highest impact Denial of service

Breakdown by Severity

Medium 33% Low 67%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 3 vulnerabilities.


1) Out-of-bounds write (CVE-ID: CVE-2021-45928)

CWE-ID: CWE-787 - Out-of-bounds write

CVSSv4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error within the jxl::ModularFrameDecoder::DecodeGroup() function. A local user can trigger an out-of-bounds write and perform a denial of service (DoS) attack.


2) Heap-based buffer overflow (CVE-ID: CVE-2021-22564)

CWE-ID: CWE-122 - Heap-based Buffer Overflow

CVSSv4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to corrupt heap memory and potentially crash the decoder.

The vulnerability exists due to a heap-based buffer overflow in the JPEG XL decoder when pixel copies at the right or bottom image edge exceed buffer bounds after groups are processed out of order because of file ordering or thread scheduling. A remote attacker can supply a JPEG XL image for decoding to trigger heap memory corruption and potentially crash the decoder.


3) Out-of-bounds read (CVE-ID: CVE-2021-22563)

CWE-ID: CWE-125 - Out-of-bounds read

CVSSv4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to crash the decoding process or potentially expose data from its memory through the rendered image.

The vulnerability exists due to an out-of-bounds read in libjxl's spline renderer when processing an invalid JPEG XL image. A remote attacker can trick a victim into opening a crafted JPEG XL image to crash the decoding process or potentially expose process memory through the rendered splines.


Remediation

Install update from vendor's website.