GHSA-5pmv-rx8r-wmv5: jxl-grid on 32-bit platforms has an out-of-bounds writes due to integer overflow
On 32-bit platforms, the jxl-grid crate has an integer overflow vulnerability during length calculation when decoding crafted JPEG XL images. This overflow can lead to out-of-bounds writes in allocated buffers, potentially allowing arbitrary code execution. The issue arises from unchecked multiplication of width and height dimensions, causing allocation of undersized buffers for large logical image dimensions. Two main exploitation scenarios exist: decoding a huge frame or decoding a tiny cropped frame within a huge canvas. This vulnerability affects versions of jxl-grid prior to 0.6.2.
AI Analysis
Technical Summary
The jxl-grid crate on 32-bit platforms suffers from an integer overflow vulnerability in the calculation of buffer sizes during image decoding. Specifically, the product of width and height is computed without overflow checks, which on 32-bit systems can wrap around and cause allocation of buffers that are too small. Subsequent writes to these buffers during image rendering can lead to out-of-bounds memory writes. This can be triggered by decoding crafted JPEG XL images with either very large frames or small cropped frames within a large canvas. The vulnerability is tracked as CVE-2026-52834 and affects jxl-grid versions before 0.6.2.
Potential Impact
On affected 32-bit platforms, decoding a maliciously crafted JPEG XL image can cause out-of-bounds memory writes due to integer overflow in buffer size calculations. This memory corruption can lead to arbitrary code execution. The vulnerability impacts confidentiality, integrity, and availability as indicated by the CVSS vector (C:L/I:L/A:H). There are no known exploits in the wild at this time.
Mitigation Recommendations
A fix is available in jxl-grid version 0.6.2 and later. Users should upgrade to version 0.6.2 or newer to remediate this vulnerability. No additional mitigation steps are indicated by the vendor advisory.
GHSA-5pmv-rx8r-wmv5: jxl-grid on 32-bit platforms has an out-of-bounds writes due to integer overflow
Description
On 32-bit platforms, the jxl-grid crate has an integer overflow vulnerability during length calculation when decoding crafted JPEG XL images. This overflow can lead to out-of-bounds writes in allocated buffers, potentially allowing arbitrary code execution. The issue arises from unchecked multiplication of width and height dimensions, causing allocation of undersized buffers for large logical image dimensions. Two main exploitation scenarios exist: decoding a huge frame or decoding a tiny cropped frame within a huge canvas. This vulnerability affects versions of jxl-grid prior to 0.6.2.
CVSS v3.1
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The jxl-grid crate on 32-bit platforms suffers from an integer overflow vulnerability in the calculation of buffer sizes during image decoding. Specifically, the product of width and height is computed without overflow checks, which on 32-bit systems can wrap around and cause allocation of buffers that are too small. Subsequent writes to these buffers during image rendering can lead to out-of-bounds memory writes. This can be triggered by decoding crafted JPEG XL images with either very large frames or small cropped frames within a large canvas. The vulnerability is tracked as CVE-2026-52834 and affects jxl-grid versions before 0.6.2.
Potential Impact
On affected 32-bit platforms, decoding a maliciously crafted JPEG XL image can cause out-of-bounds memory writes due to integer overflow in buffer size calculations. This memory corruption can lead to arbitrary code execution. The vulnerability impacts confidentiality, integrity, and availability as indicated by the CVSS vector (C:L/I:L/A:H). There are no known exploits in the wild at this time.
Mitigation Recommendations
A fix is available in jxl-grid version 0.6.2 and later. Users should upgrade to version 0.6.2 or newer to remediate this vulnerability. No additional mitigation steps are indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-5pmv-rx8r-wmv5
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-52834"]
- Ecosystems
- ["crates.io"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a46ecae27e9c7971943b8e5
Added to database: 07/02/2026, 22:56:46 UTC
Last enriched: 07/02/2026, 23:06:06 UTC
Last updated: 07/02/2026, 23:06:06 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.