What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: libjxl 0.12.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-82522 or the next vulnerability affects your stack