{"id":"RUSTSEC-2026-0116","revision":"fdb740516f0643ddb3f27df801f0074f","records":[{"revision":"fdb740516f0643ddb3f27df801f0074f","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0116","aliases":["GHSA-w5p8-4jcx-2j6r"],"title":"Improper check of an invariant resulting in incorrect bounds checks","description":"A bounds verification of a slice storage of a 2-dimensional matrix's\ncoefficients (a kernel) would compare the total size against the product of\nindividual dimensions. This would erroneously cast *after* the multiplication\nand consequently fail to detect possible violations when overflow occurs.\n\nAfterwards, the individual sizes were trusted to properly constrain coordinates\nwithin the matrix to indices valid for the underlying storage. With a crafted\n`Kernel` object, certain combinations of coordinates could then cause an\nout-of-bounds access in an `unsafe` function while fulfilling its documented\npreconditions. The kernel value could be passed to library functions that\ntrusted the preconditions and then performed such reads.","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-0116.html"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0116","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0116","identifiers":["RUSTSEC-2026-0116","GHSA-w5p8-4jcx-2j6r"]},"retained":false,"historicalAffected":[]}],"coverage":[]}