{"id":"GHSA-qg8r-f7x3-25f7","aliases":["RUSTSEC-2026-0117"],"url":"https://o3.security/vulnerability/GHSA-qg8r-f7x3-25f7","summary":"imageproc: Out-of-bounds read via NaN coordinates in bilinear/bicubic sampling","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.\n\nCarefully 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.\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.","published":"2026-05-07T03:10:13Z","modified":"2026-09-10T03:51:06.799196770Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"imageproc","fixedVersion":"0.23.1"},{"ecosystem":"crates.io","name":"imageproc","fixedVersion":"0.24.1"},{"ecosystem":"crates.io","name":"imageproc","fixedVersion":"0.25.1"},{"ecosystem":"crates.io","name":"imageproc","fixedVersion":"0.26.2"}],"fix":null,"references":[{"type":"PACKAGE","url":"https://github.com/image-rs/imageproc"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2026-0117.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-10T03:51:06.799196770Z"}}