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

No history.

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