Skip to content
OpenAdvisories

Package · crates.io

imageproc

3 known vulnerabilities.

3 results · Clear filters · Feed

  • Medium —

    imageproc: integer overflow in kernel size check leads to out-of-bounds read

    A bounds verification of a slice storage of a 2-dimensional matrix's coefficients (a kernel) would compare the total size against the product of individual dimensions. This would erroneously cast *after* the multiplication and consequently fail to detect poss…

  • Medium —

    imageproc: Out-of-bounds read via NaN coordinates in bilinear/bicubic sampling

    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 …

  • Medium —

    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 malicio…