CVE-2026-52834 jxl-oxide: Out-of-bounds writes due to integer overflow in jxl-grid on 32-bit platforms
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Debian
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.
Upgrade path
3 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io jxl-grid(crates.io) | < 0.6.2; <= 0.6.1; >= 0.0.0-0, < 0.6.2 | 0.6.2 | Fixed |
| tirr-c jxl-grid | = < 0.6.2 | No fix listed | Versions listed |
| tirr-c jxl-oxide | = < 0.12.6 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| tirr-c jxl-oxide | = < 0.12.6 | No fix listed |
| tirr-c jxl-grid | = < 0.6.2 | No fix listed |
| crates.io jxl-grid(crates.io) | < 0.6.2 | 0.6.2 |
| crates.io jxl-grid(crates.io) | >= 0.0.0-0, < 0.6.2 | 0.6.2 |
| crates.io jxl-grid(crates.io) | <= 0.6.1 | No fix listed |
References
- https://github.com/tirr-c/jxl-oxide/security/advisories/GHSA-5pmv-rx8r-wmv5 vendor-advisory
- 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 vendor-advisory
- github.com product
- crates.io product
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2519703 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com
- Debian Security Tracker CVE-2026-52834 vendor-advisory
- ENISA EUVD EUVD-2026-62513 third-party-advisory