You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Below is an example program that triggers an integer overflow. Simply calling imageproc::contrast::adaptive_threshold with specific image files triggers this vulnerability.
PoC
You can test both vulnerabilities by following the guide below.
Hi,
I've using libfuzzer to fuzz this crate. And I've found 2 API may panic due to arithmetic overflow.
Issue Description
We are getting crashes in
adaptive_threshold
function. The following code blocks triggers integer overflow.imageproc/src/integral_image.rs
Line 142 in 2bb3347
imageproc/src/integral_image.rs
Line 174 in 2bb3347
Reproduction
Below is an example program that triggers an integer overflow. Simply calling
imageproc::contrast::adaptive_threshold
with specific image files triggers this vulnerability.PoC
You can test both vulnerabilities by following the guide below.
Code:
first#174.png -> This input will trigger this vulnerable code block:
imageproc/src/integral_image.rs
Line 174 in 2bb3347
second#142.png -> This input will trigger this vulnerable code block:
imageproc/src/integral_image.rs
Line 142 in 2bb3347
The text was updated successfully, but these errors were encountered: