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

Summary

CVECVE-2026-52834
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-19 15:17:09 UTC
Updated2026-08-19 19:17:18 UTC
Descriptionjxl-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.

Risk And Classification

Primary CVSS: v3.1 7.3 HIGH from [email protected]

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:H

EPSS: 0.001300000 probability, percentile 0.031110000 (date 2026-08-20)

Problem Types: CWE-122 | CWE-131 | CWE-190 | CWE-122 CWE-122: Heap-based Buffer Overflow | CWE-131 CWE-131: Incorrect Calculation of Buffer Size | CWE-190 CWE-190: Integer Overflow or Wraparound


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary7.3HIGHCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:H
3.1CNADECLARED7.3HIGHCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
High

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Tirr-c Jxl-oxide affected < 0.12.6 Not specified
CNA Tirr-c Jxl-grid affected < 0.6.2 Not specified

References

ReferenceSourceLinkTags
rustsec.org/advisories/RUSTSEC-2026-0151.html [email protected] rustsec.org
github.com/tirr-c/jxl-oxide/releases/tag/0.12.6 [email protected] github.com
github.com/tirr-c/jxl-oxide/commit/3986dadd3926a95656a642e74a0702d52f5c92e2 [email protected] github.com
github.com/tirr-c/jxl-oxide/security/advisories/GHSA-5pmv-rx8r-wmv5 [email protected] github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report