CVE-2026-1837
JSON

8.7high

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

Severity
8.7high CVSS:4.0 by Google
Exploit likelihood
0.38% (higher than 24% of CVEs)
Published
Last changed
Assigned by
Google

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).

Affected

Product or packageVersionsReported by
Google libjxlfrom 0.9 up to 0.11.1CVE List
firefoxNot specifiedCVE List
thunderbirdNot specifiedCVE List
libjxl_project libjxlfrom 0.9.0 up to 0.11.1NVD

All scores

Google8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
redhat-SADP8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-770CWE-787CWE-805

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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).

NVD (es)

Un archivo especialmente diseñado puede provocar que el decodificador de libjxl escriba datos de píxeles en memoria no asignada no inicializada. Poco después, datos de otra región no asignada no inicializada se copian a los datos de píxeles. Esto puede hacerse al solicitar una transformación de color de imágenes en escala de grises a otro espacio de color en escala de grises. Búferes asignados para 1 flotante por píxel se utilizan como si estuvieran asignados para 3 flotantes por píxel. Esto ocurre solo si se utiliza LCMS2 como motor CMS. Hay otro motor CMS disponible (seleccionado mediante indicadores de compilación).

References

Sources

SourceRecordLicence
CVE ListCVE-2026-1837 changed 2026-07-15CVE Terms of Use
NVDCVE-2026-1837 changed 2026-07-15Public domain