GHSA-5qv7-j6w5-fr4m Fragile bounds check when sampling from image

Not scored Published

An integer overflow in bounds checking allows out-of-bounds memory reads when processing malicious images, potentially causing crashes or data leaks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-5qv7-j6w5-fr4m?

GHSA-5qv7-j6w5-fr4m is a vulnerability in imageproc, published on 1 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A read of pixels was coded as modifying coordinates to lie within the image bounds. It would calculate a coordinate by adding a constant to an input and taking the minimum of the resulting coordinate and 'dimension - 1'. This would not protect against malicious inputs that could overflow the addition. . Subsequently to the tricked bounds check the image could then be sampled at multiple, differently calculated coordinates exceeding the bounds.

Which versions are affected by GHSA-5qv7-j6w5-fr4m?

7 open source packages ship an affected version, including imageproc.

PackageAffectedFixed in
imageproc crates.ioFrom 0.24.00.24.1, 0.25.1, 0.26.2
imageproc crates.ioFrom 0.24.00.24.1
imageproc crates.ioFrom 0.24.00.24.1
imageproc crates.ioFrom 0.25.00.25.1
imageproc crates.ioFrom 0.25.00.25.1
imageproc crates.ioFrom 0.26.00.26.2
1 more packages
imageproc crates.ioFrom 0.26.00.26.2

How do I fix GHSA-5qv7-j6w5-fr4m?

Upgrade imageproc to a fixed version for your release line: 0.24.1, 0.25.1 or 0.26.2.

Is GHSA-5qv7-j6w5-fr4m being exploited?

There is no known exploitation of GHSA-5qv7-j6w5-fr4m in the wild and no public exploit code.

Sources

Also known as RUSTSEC-2026-0115.

Is GHSA-5qv7-j6w5-fr4m in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free