CVE-2026-52834
HIGH 7.3CVSS 3.1jxl-grid on 32-bit platforms has an out-of-bounds writes due to integer overflow
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.
- Published
- 19 Aug 2026
- Last modified
- 27 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-122CWE-131CWE-190
- Also known as
- GHSA-5pmv-rx8r-wmv5RUSTSEC-2026-0151
- Sources
- NVDJSONOSV GHSA-5pmv-rx8r-wmv5JSONOSV RUSTSEC-2026-0151JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | jxl-grid | < 0.6.2 | 0.6.2 |
| OSV | crates.io | jxl-grid | >= 0.0.0-0, < 0.6.2 | 0.6.2 |
References
- https://github.com/tirr-c/jxl-oxide/commit/3986dadd3926a95656a642e74a0702d52f5c92e2 · WEB
- https://github.com/tirr-c/jxl-oxide/releases/tag/0.12.6
- https://github.com/tirr-c/jxl-oxide/security/advisories/GHSA-5pmv-rx8r-wmv5 · WEB
- https://rustsec.org/advisories/RUSTSEC-2026-0151.html · WEB, ADVISORY
- https://github.com/tirr-c/jxl-oxide · PACKAGE
- https://crates.io/crates/jxl-grid · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 19 Aug 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Jul 2026)