Skip to content

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

HighCVSS 8.7 EPSS 0.33%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
DebianRed Hat

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

Upgrade path

6 packages: 5 fixed.

PackageAffectedFixed inStatus
alpine/libjxl(Alpine v3.23) >= 0.9.0, < 0.11.2-r0 0.11.2-r0 Fixed
debian/jpeg-xl(Debian 13) < 0.11.2-0.1~deb13u1; = 0.11.1-4; = 0.11.1-5; = 0.11.1-6 0.11.2-0.1~deb13u1 Fixed
debian/jpeg-xl(Debian 14) < 0.11.2-0.1; = 0.11.1-4; = 0.11.1-5; = 0.11.1-6 +2 more 0.11.2-0.1 Fixed
Google libjxl >= 0.9, <= 0.11.1 after 0.11.1 Fixed
libjxl project libjxl >= 0.9.0, <= 0.11.1 after 0.11.1 Fixed
redhat enterprise linux = 7; = 8; = 9; = 10 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
Google libjxl >= 0.9, <= 0.11.1 No fix listed
redhat enterprise linux = 10 No fix listed
redhat enterprise linux = 7 No fix listed
redhat enterprise linux = 8 No fix listed
redhat enterprise linux = 9 No fix listed
debian/jpeg-xl(Debian:13) < 0.11.2-0.1~deb13u1 0.11.2-0.1~deb13u1
debian/jpeg-xl(Debian:13) = 0.11.1-4 No fix listed
debian/jpeg-xl(Debian:13) = 0.11.1-5 No fix listed
debian/jpeg-xl(Debian:13) = 0.11.1-6 No fix listed
debian/jpeg-xl(Debian:14) < 0.11.2-0.1 0.11.2-0.1
debian/jpeg-xl(Debian:14) = 0.11.1-4 No fix listed
debian/jpeg-xl(Debian:14) = 0.11.1-5 No fix listed
debian/jpeg-xl(Debian:14) = 0.11.1-6 No fix listed
debian/jpeg-xl(Debian:14) = 0.11.2-0.1~deb13u1 No fix listed
debian/jpeg-xl(Debian:14) = 0.11.2-0.1~deb13u2 No fix listed
alpine/libjxl(Alpine:v3.23) >= 0.9.0, < 0.11.2-r0 0.11.2-r0
libjxl project libjxl >= 0.9.0, <= 0.11.1 No fix listed

References