Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-5pmv-rx8r-wmv5: jxl-grid on 32-bit platforms has an out-of-bounds writes due to integer overflow

0
High
Published: 07/02/2026 (07/02/2026, 20:45:59 UTC)
Source: GCVE Database
Product: jxl-grid

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

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

Affected software

crates.ioghsa
jxl-grid
Affected versions
<0.6.2

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

AILast updated: 07/02/2026, 23:06:06 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses