Skip to main content
No exploitation reportedFix available

CVE-2019-19624

No exploitation reported by the sources we read.

  • Published2019-12-06
  • Fixed in4.1.1
  • WeaknessCWE-125

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

An out-of-bounds read was discovered in OpenCV before 4.1.1. Specifically, variable coarsest_scale is assumed to be greater than or equal to finest_scale within the calc()/ocl_calc() functions in dis_flow.cpp. However, this is not true when dealing with small images, leading to an out-of-bounds read of the heap-allocated arrays Ux and Uy.

Timeline

dates in UTC
  1. 2019-12-0615:15CVE publishedNVD

Versions per branch

NVD · OSV
Opencv
BranchAffectedFixed in
4.1< 4.1.14.1.1
Redhat enterprise linux
BranchAffectedFixed in
8.0= 8.0no fix published
opencv-contrib-python
BranchAffectedFixed in
4.1< 4.1.0.254.1.0.25

3 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • opencvUbuntu:Pro:22.04:LTSall versions · fixed in 4.5.4+dfsg-9ubuntu4+esm1
  • opencvUbuntu:Pro:18.04:LTSall versions · fixed in 3.2.0+dfsg-4ubuntu0.1+esm4
  • opencvDebian:14all versions · fixed in 4.1.2+dfsg-3
  • opencvDebian:13all versions · fixed in 4.1.2+dfsg-3
  • opencvDebian:12all versions · fixed in 4.1.2+dfsg-3

Vendor advisories

  • CVE-2019-19624 Red Hat Product Security6 known affected

    opencv: out-of-bounds read in DIS optflow algorithm when dealing with small images

    opencv-contrib as a component of Red Hat Enterprise Linux 8 · opencv-core as a component of Red Hat Enterprise Linux 8 · opencv-devel as a component of Red Hat Enterprise Linux 8 · +3 more

Full record on NVD

Fix

  1. Update Opencv to 4.1.1
  2. No fix available, says the vendor Red Hat Product Security CVE-2019-19624 · 6 productsFix deferred

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVSS 3.16.5read 2026-10-23
  • NVDCVSS 2.06.4read 2026-10-23
  • NVDweakness (CWE)CWE-125read 2026-10-23
  • FIRST EPSSEPSS score1.8 %2026-11-08
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryMODERATE2021-10-06

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Published
2019-12-06
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-jggw-2q6g-c3m6

Frequently asked questions

What is CVE-2019-19624?

An out-of-bounds read was discovered in OpenCV before 4.1.1. Specifically, variable coarsest_scale is assumed to be greater than or equal to finest_scale within the calc()/ocl_calc() functions in dis_flow.cpp. However, this is not true when dealing with small images, leading to an out-of-bounds read of the heap-allocated arrays Ux and Uy.

Is CVE-2019-19624 actively exploited?

Active exploitation of CVE-2019-19624 has not been confirmed. Its EPSS score was 1.8% on 2026-11-08, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2019-19624?

CVE-2019-19624 has a CVSS v3 base score of 6.5 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L.

Running opencv? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record