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

Medium 5.3 Published Updated

Remote attackers can inject arbitrary metadata and cause out-of-bounds reads in libjxl by exploiting an integer underflow in the container box parser.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-82522?

CVE-2026-82522 is a medium-severity vulnerability in libjxl, published on 2 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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-681

Which versions are affected by CVE-2026-82522?

How do I fix CVE-2026-82522?

Upgrade to a fixed version.

Is CVE-2026-82522 being exploited?

There is no known exploitation of CVE-2026-82522 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-82522, ECHO-38b6-7fa2-72b8, GHSA-8q4m-qc33-25q8, OESA-2026-4375, UBUNTU-CVE-2026-82522.

Is CVE-2026-82522 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free