Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2019-19624 — opencv-contrib-python

⚪ Unknown ✅ No Known Exploit CWE-125 OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Out-of-bounds Read in OpenCV

An out-of-bounds read was discovered in OpenCV before 4.1.1 (OpenCV-Python before 4.1.0.25). 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.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity none, availability low.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: None — an unauthenticated stranger can try it.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: Low — limited, and the attacker does not choose what is affected.
  • Integrity impact: None.
  • Availability impact: Low — limited, and the attacker does not choose what is affected.

Weakness class

CVE-2019-19624 is classified as CWE-125: Out-of-bounds Read. The code reads past the limits of a buffer, exposing adjacent memory contents or crashing the process.

Affected software

CVE-2019-19624 is recorded against 4 packages.

  • opencv-contrib-python (fixed in 4.1.0.25)
  • opencv-contrib-python-headless (fixed in 4.1.0.25)
  • opencv-python (fixed in 4.1.0.25)
  • opencv-python-headless (fixed in 4.1.0.25)

Timeline and source

Published on 12 October 2021 and last revised on 13 July 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

nvd.nist.gov (Advisory)
github.com (Web)
github.com (Web)
access.redhat.com (Web)
github.com (Package)
github.com (Web)

Other advisories for this package

opencv-contrib-python has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-125: Out-of-bounds Read) in other software:

Details

Severity Unknown
CVSS Score N/A
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
CWE CWE-125
Public Exploit ✅ No
Source OSV
Published 2021-10-12
Updated 2026-08-20
Modified 2026-07-13
Fix URL N/A

Affected Packages

Software From version Fixed in
opencv-contrib-python — 4.1.0.25
opencv-contrib-python-headless — 4.1.0.25
opencv-python — 4.1.0.25
opencv-python-headless — 4.1.0.25

Similar Threats

Free Vulnerability Check

Is your site affected by CVE-2019-19624?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2019-19624 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVE
✓