An issue was discovered in OpenCV before 3.4.7 and 4.x before 4.1.1. 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. Reference: http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00025.html https://github.com/opencv/opencv/compare/33b765d...4a7ca5a https://github.com/opencv/opencv/compare/371bba8...ddbd10c https://github.com/opencv/opencv/issues/15124
Created opencv tracking bugs for this issue: Affects: fedora-all [bug 1797447]
Upstream fix: https://github.com/opencv/opencv/commit/321c74ccd6077bdea1d47450ca4fe955cb5b6330
Statement: The versions of OpenCV as shipped with Red Hat Enterprise Linux 7 and 8 are affected by this flaw. Although it's technically possible that classifiers are loaded from untrusted sources, this is probably an unlikely case in practice.
Mitigation: Avoid loading cascade classifiers from external untrusted sources.
Fixed in 3.4.10-1 package in f31