{"id":"CVE-2026-52834","published":"2026-08-19T14:55:32Z","modified":"2026-08-19T18:19:05Z","title":"jxl-oxide: Out-of-bounds writes due to integer overflow in jxl-grid on 32-bit platforms","vendor":"tirr-c","product":"jxl-oxide","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00174,"percentile":0.07026,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"},{"id":"CWE-131","name":"Incorrect Calculation of Buffer Size"},{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://github.com/tirr-c/jxl-oxide/security/advisories/GHSA-5pmv-rx8r-wmv5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tirr-c/jxl-oxide/commit/3986dadd3926a95656a642e74a0702d52f5c92e2","tags":["x_refsource_MISC"]},{"url":"https://github.com/tirr-c/jxl-oxide/releases/tag/0.12.6","tags":["x_refsource_MISC"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0151.html","tags":["x_refsource_MISC"]}],"priority":{"score":6.5,"factors":[{"name":"EPSS percentile","points":1.41},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"tirr-c","affectedVersions":[{"vendor":"tirr-c","product":"jxl-oxide","versions":["< 0.12.6"]},{"vendor":"tirr-c","product":"jxl-grid","versions":["< 0.6.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-19T18:03:40.919161Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"jxl-grid","vulnerableRanges":["<0.6.2",">=0.0.0-0, <0.6.2"],"patched":["0.6.2"],"from":["GHSA-5pmv-rx8r-wmv5","RUSTSEC-2026-0151"],"provenance":"source"}],"summary":{"text":"A flaw in the jxl-grid component of the jxl-oxide JPEG XL decoder, a pure Rust implementation, causes integer overflow in grid size calculations on 32-bit platforms, so buffers are allocated smaller than the logical grid. An attacker who supplies a crafted JPEG XL image that is decoded on such a platform can trigger out-of-bounds writes that corrupt memory, leading to denial of service or potentially arbitrary code execution, with no authentication required but the victim needing to decode the malicious image.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:15:32Z"},"euvd":{"id":"EUVD-2026-62513","exploited":false,"provenance":"source"}}