CVE-2026-52834

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

State
Published
Severity
7.3 High
Published
Aug 19, 2026
Updated
Aug 19, 2026
Reserved
Jun 8, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.3 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:HGitHub_M

Weaknesses

  • CWE-122 Heap-based Buffer Overflow
  • CWE-131 Incorrect Calculation of Buffer Size
  • CWE-190 Integer Overflow or Wraparound

Affected Products

ProductVersions
jxl-oxidetirr-c
  • < 0.12.6Affected
jxl-gridtirr-c
  • < 0.6.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.