CVE-2026-1837: libjxl: Out-of-bounds write in grayscale color transformation when using LCMS2
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).
Security readout for executives and security teams
Plain-English summary
CVE-2026-1837 is a high-severity memory corruption flaw in libjxl 0.9. A crafted image file can cause unsafe memory writes during decoding when LCMS2 handles a grayscale-to-grayscale color conversion. Systems that process untrusted JPEG XL content could face confidentiality, integrity, and availability risk.
Executive priority
Treat this as a priority patch-management and exposure-reduction item for image-processing systems. Urgency is high where untrusted files are decoded automatically, but active exploitation is not confirmed by the supplied sources.
Technical view
The issue is an out-of-bounds write and buffer-size mismatch: buffers sized for one float per pixel are used as three floats per pixel. The condition is tied to grayscale color transformation through LCMS2. CVSS 3.1 is 8.8 with user interaction required and no privileges required.
Likely exposure
Exposure is most likely in applications, services, desktop software, or server pipelines that use libjxl 0.9 to decode externally supplied JPEG XL files with LCMS2 enabled.
Exploitation context
The source bundle describes exploitation through a specially crafted file. KEV is false, and the provided sources do not state active exploitation in the wild or provide a public exploit status.
Researcher notes
The core condition is grayscale-to-grayscale color transformation with LCMS2. Focus validation on code paths invoking libjxl decoding and color conversion, not merely library presence. Evidence is incomplete on fixed versions and downstream package impact.
Mitigation direction
Inventory software and containers that include libjxl 0.9.
Confirm whether affected builds use LCMS2 as the CMS engine.
Check libjxl, Red Hat, and OS vendor guidance for fixed packages or rebuild direction.
Limit processing of untrusted JPEG XL files until guidance is applied.
If vendor-supported, evaluate builds that do not use LCMS2.
Validation and detection
Check dependency manifests and package inventories for libjxl 0.9.
Review build flags or package metadata for LCMS2 CMS engine usage.
Identify services that decode uploaded, emailed, or web-fetched JPEG XL content.
Track vendor advisories for affected package status and remediation availability.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-787: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
5Timeline events
2ADP providers
5Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-787 · source CWE mapping
Out-of-bounds Write
Out-of-bounds Write represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Buffer Access with Incorrect Length Value represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.