CVE-2026-1837

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

Configuration 1 (hide)

cpe:2.3:a:libjxl_project:libjxl:*:*:*:*:*:*:*:*

History

30 Jun 2026, 03:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/security/cve/CVE-2026-1837 -
  • () https://bugzilla.redhat.com/show_bug.cgi?id=2438974 -
  • () https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-1837.json -
CWE CWE-787

14 Apr 2026, 00:51

Type Values Removed Values Added
First Time Libjxl Project libjxl
Libjxl Project
Summary
  • (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).
CPE cpe:2.3:a:libjxl_project:libjxl:*:*:*:*:*:*:*:*
CWE CWE-770
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
References () https://github.com/libjxl/libjxl/issues/4549 - () https://github.com/libjxl/libjxl/issues/4549 - Exploit, Issue Tracking, Patch

11 Feb 2026, 20:16

Type Values Removed Values Added
References () https://github.com/libjxl/libjxl/issues/4549 - () https://github.com/libjxl/libjxl/issues/4549 -

11 Feb 2026, 16:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-11 16:16

Updated : 2026-07-15 02:18


NVD link : CVE-2026-1837

Mitre link : CVE-2026-1837

CVE.ORG link : CVE-2026-1837


JSON object : View

Products Affected

libjxl_project

  • libjxl
CWE
CWE-805

Buffer Access with Incorrect Length Value

CWE-770

Allocation of Resources Without Limits or Throttling

CWE-787

Out-of-bounds Write