{"id":"RUSTSEC-2026-0117","revision":"8ba53a227dbb4e8b8d05d838b1b61284","records":[{"revision":"8ba53a227dbb4e8b8d05d838b1b61284","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0117","aliases":["GHSA-qg8r-f7x3-25f7"],"title":"Fragile bounds check when sampling from image","description":"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.","state":0,"publishedAt":"2026-05-01T12:00:00+00:00","modifiedAt":"2026-05-07T08:56:41+00:00","affected":[{"ecosystem":"crates.io","name":"imageproc","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-0"},{"kind":"fixed","version":"0.23.1"},{"kind":"introduced","version":"0.24.0"},{"kind":"fixed","version":"0.24.1"},{"kind":"introduced","version":"0.25.0"},{"kind":"fixed","version":"0.25.1"},{"kind":"introduced","version":"0.26.0"},{"kind":"fixed","version":"0.26.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/imageproc","https://rustsec.org/advisories/RUSTSEC-2026-0117.html"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0117","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0117","identifiers":["RUSTSEC-2026-0117","GHSA-qg8r-f7x3-25f7"]},"retained":false,"historicalAffected":[]}],"coverage":[]}