Skip to main content
← All vulnerabilities
CVE-2026-52834GHSA-5PMV-RX8R-WMV5RUSTSEC-2026-0151

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.12.6, 0.6.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • tirr-c jxl-oxide

    fixed in 0.12.6

  • tirr-c jxl-grid

    fixed in 0.6.2

  • jxl-gridcrates.io

    fixed in 0.6.2

  • jxl-gridcrates.io

    From 0.0.0-0 · fixed in 0.6.2

References 4

GitHub · tirr-c/jxl-oxide

rustsec.org