p PatchFirst

CVE-2026-1837

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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

CVSS 8.7 · High · EPSS 0.3% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • libjxl

    Versions
    • ≥ 0.9, ≤ 0.11.1: Affected (semver)

    No fix published

  • jpeg-xl Debian:13

    Versions
    • 0.11.1-4
    • 0.11.1-5
    • 0.11.1-6
    Affected ranges
    • ECOSYSTEM: < 0.11.2-0.1~deb13u1

    Update to 0.11.2-0.1~deb13u1

  • jpeg-xl Debian:14

    Versions
    • 0.11.1-4
    • 0.11.1-5
    • 0.11.1-6
    • 0.11.2-0.1~deb13u1
    • 0.11.2-0.1~deb13u2
    Affected ranges
    • ECOSYSTEM: < 0.11.2-0.1

    Update to 0.11.2-0.1

  • jpeg-xl Ubuntu:25.10

    Versions
    • 0.11.1-4
    • 0.11.1-6ubuntu1
    Affected ranges
    • ECOSYSTEM: < 0.11.1-6ubuntu1.1

    Update to 0.11.1-6ubuntu1.1

Original sources

Check your server →