Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2019-14491

HIGH 8.2PoCEPSS 88%

Out-of-bounds Read in OpenCV

Also known as GHSA-fm39-cw8h-3p63, PYSEC-2026-2797, PYSEC-2026-2818, PYSEC-2026-2836, PYSEC-2026-720

Mitigation

  • Upgrade opencv-python to one of 3.4.7.28, 4.1.1.26 (or later in the same release line).
  • Upgrade opencv-python-headless to one of 3.4.7.28, 4.1.1.26 (or later in the same release line).
  • Upgrade opencv-contrib-python to one of 3.4.7.28, 4.1.1.26 (or later in the same release line).
  • Upgrade opencv-contrib-python-headless to one of 3.4.7.28, 4.1.1.26 (or later in the same release line).

Who should check

  • Projects that depend on PyPI package opencv-python (< 3.4.7.28)
  • Projects that depend on PyPI package opencv-python-headless (< 3.4.7.28)
  • Projects that depend on PyPI package opencv-contrib-python (< 3.4.7.28)
  • Projects that depend on PyPI package opencv-contrib-python-headless (< 3.4.7.28)
  • Anyone running n/a (versions: see the vendor advisory)

Vulnerability facts

Affected
opencv-python < 3.4.7.28; opencv-python-headless < 3.4.7.28; opencv-contrib-python < 3.4.7.28; opencv-contrib-python-headless < 3.4.7.28
Fixed in
3.4.7.28, 4.1.1.26
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Remote, no login needed
CVSS
8.2 (v3.0, NVD)CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: Low
  • Integrity impact: None
  • Availability impact: High
EPSS
2.89% chance of exploitation in 30 days (percentile 88, 2026-11-26)
CWE
CWE-125
Published
Modified

Description

An issue was discovered in OpenCV before 3.4.7 and 4.x before 4.1.1. There is an out of bounds read in the function cv::predictOrdered<cv::HaarEvaluator> in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.

Affected and fixed versions

Package / productAffectedFixedSource
PyPI opencv-python< 3.4.7.283.4.7.28, 4.1.1.26osv
PyPI opencv-python-headless< 3.4.7.283.4.7.28, 4.1.1.26osv
PyPI opencv-contrib-python< 3.4.7.283.4.7.28, 4.1.1.26osv
PyPI opencv-contrib-python-headless< 3.4.7.283.4.7.28, 4.1.1.26osv
n/a——nvd

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2019-14491. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2019-14491.md
Affected: opencv-python < 3.4.7.28; opencv-python-headless < 3.4.7.28; opencv-contrib-python < 3.4.7.28; opencv-contrib-python-headless < 3.4.7.28
Fixed in: 3.4.7.28, 4.1.1.26

Steps:
1. Search this machine and project for opencv-python (PyPI), opencv-python-headless (PyPI), opencv-contrib-python (PyPI), opencv-contrib-python-headless (PyPI), n/a: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2019-14491 being exploited?

There is no confirmed exploitation: CVE-2019-14491 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 2.89% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2019-14491?

High: CVSS 8.2 (v3.0, scored by NVD). Remote, no login needed.

Which versions are affected by CVE-2019-14491?

opencv-python < 3.4.7.28; opencv-python-headless < 3.4.7.28; opencv-contrib-python < 3.4.7.28; opencv-contrib-python-headless < 3.4.7.28.

Is there a fix for CVE-2019-14491?

Yes. Fixed in 3.4.7.28, 4.1.1.26. Upgrade opencv-python to one of 3.4.7.28, 4.1.1.26 (or later in the same release line). Upgrade opencv-python-headless to one of 3.4.7.28, 4.1.1.26 (or later in the same release line). Upgrade opencv-contrib-python to one of 3.4.7.28, 4.1.1.26 (or later in the same release line). Upgrade opencv-contrib-python-headless to one of 3.4.7.28, 4.1.1.26 (or later in the same release line).

How do I check if I'm affected by CVE-2019-14491?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors