5.4Medium

CVE-2026-82522libjxl < 0.12.0 Container Box Parser Integer Underflow via 32-bit Size Truncation

libjxl libjxl Published: (2 months ago)

Description

libjxl before 0.12 contains an integer underflow vulnerability in the container box parser that allows remote attackers to inject arbitrary metadata by exploiting 64-bit box size truncation to size_t on 32-bit platforms. Attackers can supply a crafted JPEG XL file causing the decoder to parse attacker-controlled codestream bytes as phantom box headers, enabling injection of arbitrary metadata (Exif, XMP, IPTC, JUMBF) and potential out-of-bounds reads.

Weakness (CWE): CWE-681

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
libjxl libjxl < 0.12.0

References and patches