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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.3
- **CVSS:** 7.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-122, CWE-131, CWE-190
- **Aliases:** GHSA-5pmv-rx8r-wmv5, RUSTSEC-2026-0151
- **Published:** 2026-05-29T12:00:00.000Z
- **Modified:** 2026-10-27T13:10:00.360Z

## Who should check

- Projects that depend on crates.io package jxl-grid (\< 0.6.2)
- Anyone running tirr-c jxl-oxide \< 0.12.6
- Anyone running tirr-c jxl-grid \< 0.6.2

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

## Affected and fixed versions

- crates.io `jxl-grid`: affected \< 0.6.2; fixed 0.6.2 (osv)
- tirr-c jxl-oxide: \< 0.12.6 (cvelist)
- tirr-c jxl-grid: \< 0.6.2 (cvelist)

## Mitigation

- Upgrade jxl-grid to 0.6.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-52834. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-52834.md
Affected: jxl-grid < 0.6.2
Fixed in: 0.6.2

Steps:
1. Search this machine and project for jxl-grid (crates.io), tirr-c jxl-oxide, tirr-c jxl-grid: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-52834 being exploited?

There is no confirmed exploitation: CVE-2026-52834 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-52834?

High: CVSS 7.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-52834?

jxl-grid \< 0.6.2.

### Is there a fix for CVE-2026-52834?

Yes. Fixed in 0.6.2. Upgrade jxl-grid to 0.6.2 or later.

### How do I check if I'm affected by CVE-2026-52834?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/tirr-c/jxl-oxide/security/advisories/GHSA-5pmv-rx8r-wmv5>
- vendor: <https://rustsec.org/advisories/RUSTSEC-2026-0151.html>
- patch: <https://github.com/tirr-c/jxl-oxide/commit/3986dadd3926a95656a642e74a0702d52f5c92e2>
- other: <https://github.com/tirr-c/jxl-oxide/releases/tag/0.12.6>
- other: <https://github.com/tirr-c/jxl-oxide>
- other: <https://crates.io/crates/jxl-grid>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-52834>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-5pmv-rx8r-wmv5> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/RUSTSEC-2026-0151> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-52834> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-52834>
