8.7High

CVE-2026-1837libjxl: Out-of-bounds write in grayscale color transformation when using LCMS2

Google libjxl; Red Hat Red Hat Enterprise Linux 10; Red Hat Red Hat Enterprise Linux 7; Red Hat Red Hat Enterprise Linux 8 Published: (9 months ago)

Description

A specially-crafted file can cause libjxl's decoder to write pixel data to uninitialized unallocated memory. Soon after that data from another uninitialized unallocated region is copied to pixel data. This can be done by requesting color transformation of grayscale images to another grayscale color space. Buffers allocated for 1-float-per-pixel are used as if they are allocated for 3-float-per-pixel. That happens only if LCMS2 is used as CMS engine. There is another CMS engine available (selected by build flags).

Weakness (CWE): CWE-805CWE-787CWE-770

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Google libjxl 0.9 – ≤ 0.11.1
libjxl project libjxl 0.9.0 – ≤ 0.11.1
Red Hat Red Hat Enterprise Linux 10 —
Red Hat Red Hat Enterprise Linux 7 —
Red Hat Red Hat Enterprise Linux 8 —
Red Hat Red Hat Enterprise Linux 9 —

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:libjxl_project:libjxl:*:*:*:*:*:*:*:* ≥ 0.9.0 ≤ 0.11.1