imageproc
Affected
- introduced
0.24.0, fixed0.24.1(semver)
Fixed versions
0.24.1
Fix
- Fixed version
0.24.1cargo update -p imageproc --precise 0.24.1
Advisory
Also known as: RUSTSEC-2026-0115
imageproc has fragile bounds check when sampling from image
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. Following the tricked bounds check, the image could then be sampled at multiple differently calculated coordinates that exceeded the bounds.
Medium Basis: The source's own band: MODERATE
0.24.0, fixed 0.24.1 (semver)0.24.1
0.24.1cargo update -p imageproc --precise 0.24.10.25.0, fixed 0.25.1 (semver)0.25.1
0.25.1cargo update -p imageproc --precise 0.25.10.26.0, fixed 0.26.2 (semver)0.26.2
0.26.2cargo update -p imageproc --precise 0.26.2Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0