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

- Severity: High 7.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-29T12:00:00.000Z
- Modified: 2026-10-27T13:10:00.360Z
- Also known as: GHSA-5pmv-rx8r-wmv5, RUSTSEC-2026-0151
- Weaknesses: CWE-122, CWE-131, CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- tirr-c jxl-oxide: < 0.12.6
- tirr-c jxl-grid: < 0.6.2
- jxl-grid (crates.io): before 0.6.2; from 0.0.0-0 before 0.6.2

## Every score

- GitHub_M: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:H`
- GitHub: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:H`

## References

- <https://github.com/tirr-c/jxl-oxide/security/advisories/GHSA-5pmv-rx8r-wmv5> (web)
- <https://github.com/tirr-c/jxl-oxide/commit/3986dadd3926a95656a642e74a0702d52f5c92e2> (web)
- <https://github.com/tirr-c/jxl-oxide/releases/tag/0.12.6>
- <https://rustsec.org/advisories/RUSTSEC-2026-0151.html> (advisory, web)
- <https://github.com/tirr-c/jxl-oxide> (package)
- <https://crates.io/crates/jxl-grid> (package)

## Sources

- CVE List: [CVE-2026-52834](https://www.cve.org/CVERecord?id=CVE-2026-52834), CVE Terms of Use, modified 2026-08-19
- GitHub Advisory Database: [GHSA-5pmv-rx8r-wmv5](https://github.com/advisories/GHSA-5pmv-rx8r-wmv5), CC-BY-4.0, modified 2026-07-02
- RustSec Advisory Database: [RUSTSEC-2026-0151](https://rustsec.org/advisories/RUSTSEC-2026-0151.html), CC0-1.0, modified 2026-10-12
- NVD: [CVE-2026-52834](https://nvd.nist.gov/vuln/detail/CVE-2026-52834), Public domain, modified 2026-10-27

---

Page: https://cve.day/CVE-2026-52834 · Whole record: https://cve.day/CVE-2026-52834.json · Rebuilt by cve.day 2026-11-25T22:59:33.960Z
