CVE-2026-52834 jxl-oxide: Out-of-bounds writes due to integer overflow in jxl-grid on 32-bit platforms
Integer overflow in jxl-grid allows out-of-bounds writes during JPEG XL decoding on 32-bit platforms, leading to code execution or crashes.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-52834?
CVE-2026-52834 is a high-severity vulnerability in tirr-c jxl-grid, published on 19 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2026-52834?
3 open source packages ship an affected version, including jxl-grid.
| Package | Affected | Fixed in |
|---|---|---|
jxl-grid crates.io | All versions | 0.6.2 |
jxl-grid crates.io | All versions | 0.6.2 |
jxl-grid crates.io | From 0.0.0-0 | 0.6.2 |
How do I fix CVE-2026-52834?
Upgrade jxl-grid to 0.6.2 or later.
Is CVE-2026-52834 being exploited?
There is no known exploitation of CVE-2026-52834 in the wild and no public exploit code.
Sources
Also known as GHSA-5pmv-rx8r-wmv5, RUSTSEC-2026-0151.