Out-of-bounds Read and Out-of-bounds Write in OpenCV
High severity
GitHub Reviewed
Published
Oct 12, 2021
to the GitHub Advisory Database
•
Updated Feb 1, 2023
Package
Affected versions
<= 3.4.6.27
>= 4.0.0.21, <= 4.1.0.25
Patched versions
3.4.7.28
4.1.1.26
Description
Published by the National Vulnerability Database
Aug 1, 2019
Reviewed
Oct 7, 2021
Published to the GitHub Advisory Database
Oct 12, 2021
Last updated
Feb 1, 2023
An issue was discovered in OpenCV before 3.4.7 and 4.x before 4.1.1 (OpenCV-Python before 3.4.7.28 and 4.x before 4.1.1.26). There is an out of bounds read/write in the function HaarEvaluator::OptFeature::calc in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.
References