rustsec-2026-0117
Vulnerability from osv_rustsec
Published
2026-05-01 12:00
Modified
2026-05-07 08:56
Summary
Fragile bounds check when sampling from image
Details
A bounds check was performed in floating points before a cast to the index
passed to an unchecked access function. This checked considered NaN cases
improperly, causing them to succeed the check instead of failing it. The
floating point coordinate is under caller control by passing a selected
projection matrix.
Carefully controlling the coordinates of an image with no data and one non-zero dimension provides an arbitrary read primitive in the first 32-bits of address space with a Bilinear sampling method.
Using bicubic sampling can result in a read of a few bytes beyond an allocation.
Other out-of-bounds reads may be possible.
References
| URL | Type | |
|---|---|---|
{
"affected": [
{
"database_specific": {
"categories": [
"memory-exposure"
],
"cvss": null,
"informational": "unsound"
},
"ecosystem_specific": {
"affected_functions": null,
"affects": {
"arch": [],
"functions": [
"imageproc::geometric_transformations::warp_into",
"imageproc::geometric_transformations::warp_into_with"
],
"os": []
}
},
"package": {
"ecosystem": "crates.io",
"name": "imageproc",
"purl": "pkg:cargo/imageproc"
},
"ranges": [
{
"events": [
{
"introduced": "0.0.0-0"
},
{
"fixed": "0.23.1"
},
{
"introduced": "0.24.0"
},
{
"fixed": "0.24.1"
},
{
"introduced": "0.25.0"
},
{
"fixed": "0.25.1"
},
{
"introduced": "0.26.0"
},
{
"fixed": "0.26.2"
}
],
"type": "SEMVER"
}
],
"versions": []
}
],
"aliases": [
"GHSA-qg8r-f7x3-25f7"
],
"database_specific": {
"license": "CC0-1.0"
},
"details": "A bounds check was performed in floating points before a cast to the index\npassed to an unchecked access function. This checked considered `NaN` cases\nimproperly, causing them to succeed the check instead of failing it. The\nfloating point coordinate is under caller control by passing a selected\nprojection matrix.\n\nCarefully controlling the coordinates of an image with no data and one non-zero\ndimension provides an arbitrary read primitive in the first 32-bits of address\nspace with a Bilinear sampling method.\n\nUsing bicubic sampling can result in a read of a few bytes beyond an allocation.\n\nOther out-of-bounds reads may be possible.",
"id": "RUSTSEC-2026-0117",
"modified": "2026-05-07T08:56:41Z",
"published": "2026-05-01T12:00:00Z",
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/imageproc"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2026-0117.html"
}
],
"related": [],
"severity": [],
"summary": "Fragile bounds check when sampling from image"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…