{"id":"GHSA-fm39-cw8h-3p63","summary":"Out-of-bounds Read in OpenCV","details":"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 in the function cv::predictOrdered\u003ccv::HaarEvaluator\u003e in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.","aliases":["CVE-2019-14491","PYSEC-2026-2797","PYSEC-2026-2818","PYSEC-2026-2836","PYSEC-2026-720"],"modified":"2026-08-24T00:34:18.254543697Z","published":"2021-10-12T22:07:14Z","database_specific":{"cwe_ids":["CWE-125"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2021-10-07T15:12:30Z","nvd_published_at":"2019-08-01T17:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14491"},{"type":"WEB","url":"https://github.com/opencv/opencv/issues/15125"},{"type":"PACKAGE","url":"https://github.com/opencv/opencv-python"},{"type":"WEB","url":"https://github.com/opencv/opencv/compare/33b765d...4a7ca5a"},{"type":"WEB","url":"https://github.com/opencv/opencv/compare/371bba8...ddbd10c"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HPFLN6QAX6SUA4XR4NMKKXX26H3TYCVQ"}],"affected":[{"package":{"name":"opencv-python","ecosystem":"PyPI","purl":"pkg:pypi/opencv-python"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.7.28"}]}],"versions":["3.4.0.14","3.4.1.15","3.4.2.17","3.4.3.18","3.4.4.19","3.4.5.20","3.4.6.27"],"database_specific":{"last_known_affected_version_range":"\u003c= 3.4.6.27","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-fm39-cw8h-3p63/GHSA-fm39-cw8h-3p63.json"}},{"package":{"name":"opencv-python","ecosystem":"PyPI","purl":"pkg:pypi/opencv-python"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0.21"},{"fixed":"4.1.1.26"}]}],"versions":["4.0.0.21","4.0.1.23","4.0.1.24","4.1.0.25"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-fm39-cw8h-3p63/GHSA-fm39-cw8h-3p63.json","last_known_affected_version_range":"\u003c= 4.1.0.25"}},{"package":{"name":"opencv-python-headless","ecosystem":"PyPI","purl":"pkg:pypi/opencv-python-headless"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.7.28"}]}],"versions":["3.4.3.18","3.4.4.19","3.4.5.20","3.4.6.27"],"database_specific":{"last_known_affected_version_range":"\u003c= 3.4.6.27","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-fm39-cw8h-3p63/GHSA-fm39-cw8h-3p63.json"}},{"package":{"name":"opencv-python-headless","ecosystem":"PyPI","purl":"pkg:pypi/opencv-python-headless"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0.21"},{"fixed":"4.1.1.26"}]}],"versions":["4.0.0.21","4.0.1.24","4.1.0.25"],"database_specific":{"last_known_affected_version_range":"\u003c= 4.1.0.25","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-fm39-cw8h-3p63/GHSA-fm39-cw8h-3p63.json"}},{"package":{"name":"opencv-contrib-python","ecosystem":"PyPI","purl":"pkg:pypi/opencv-contrib-python"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.7.28"}]}],"versions":["3.4.2.17","3.4.3.18","3.4.4.19","3.4.5.20","3.4.6.27"],"database_specific":{"last_known_affected_version_range":"\u003c= 3.4.6.27","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-fm39-cw8h-3p63/GHSA-fm39-cw8h-3p63.json"}},{"package":{"name":"opencv-contrib-python","ecosystem":"PyPI","purl":"pkg:pypi/opencv-contrib-python"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0.21"},{"fixed":"4.1.1.26"}]}],"versions":["4.0.0.21","4.0.1.23","4.0.1.24","4.1.0.25"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-fm39-cw8h-3p63/GHSA-fm39-cw8h-3p63.json","last_known_affected_version_range":"\u003c= 4.1.0.25"}},{"package":{"name":"opencv-contrib-python-headless","ecosystem":"PyPI","purl":"pkg:pypi/opencv-contrib-python-headless"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.7.28"}]}],"versions":["3.4.0.14","3.4.2.17","3.4.3.18","3.4.4.19","3.4.5.20","3.4.6.27"],"database_specific":{"last_known_affected_version_range":"\u003c= 3.4.6.27","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-fm39-cw8h-3p63/GHSA-fm39-cw8h-3p63.json"}},{"package":{"name":"opencv-contrib-python-headless","ecosystem":"PyPI","purl":"pkg:pypi/opencv-contrib-python-headless"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0.21"},{"fixed":"4.1.1.26"}]}],"versions":["4.0.0.21","4.0.1.23","4.0.1.24","4.1.0.25"],"database_specific":{"last_known_affected_version_range":"\u003c= 4.1.0.25","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-fm39-cw8h-3p63/GHSA-fm39-cw8h-3p63.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"}]}