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

- Severity: High 8.7 (CVSS:4.0, scored by Google) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 24% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-11T15:19:55.442Z
- Modified: 2026-07-15T02:18:21.220Z
- Weaknesses: CWE-770, CWE-787, CWE-805
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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).

(As written by CVE List.)

## Affected

- Google libjxl: from 0.9 up to 0.11.1
- firefox: no versions given
- thunderbird: no versions given
- libjxl_project libjxl: from 0.9.0 up to 0.11.1

## Every score

- Google: CVSS:4.0 8.7 High `CVSS: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-SADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/libjxl/libjxl/issues/4549> (exploit, issue-tracking, patch)
- <https://access.redhat.com/security/cve/CVE-2026-1837> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2438974> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-1837.json>

## Sources

- CVE List: [CVE-2026-1837](https://www.cve.org/CVERecord?id=CVE-2026-1837), CVE Terms of Use, modified 2026-07-15
- NVD: [CVE-2026-1837](https://nvd.nist.gov/vuln/detail/CVE-2026-1837), Public domain, modified 2026-07-15

---

Page: https://cve.day/CVE-2026-1837 · Whole record: https://cve.day/CVE-2026-1837.json · Rebuilt by cve.day 2026-11-25T22:59:13.774Z
