Security mailing lists by PureSourceCode

CVE-2019-19624

MEDIUM 6.5CVSS 3.1

Out-of-bounds Read in OpenCV

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.

Published
6 Dec 2019
Last modified
10 Sep 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-125
Also known as
GHSA-jggw-2q6g-c3m6PYSEC-2026-2800PYSEC-2026-2824PYSEC-2026-2839PYSEC-2026-723
Sources
NVDJSONOSV GHSA-jggw-2q6g-c3m6JSONOSV PYSEC-2026-2800JSONOSV PYSEC-2026-2824JSONOSV PYSEC-2026-2839JSONOSV PYSEC-2026-723JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
OSV PyPA CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.4 AV:N/AC:L/Au:N/C:P/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD opencv opencv
cpe:2.3:a:opencv:opencv:*:*:*:*:*:*:*:*
< 4.1.1 4.1.1
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
= 8.0
OSV PyPI opencv-python < 4.1.0.25 4.1.0.25
OSV PyPI opencv-python-headless < 4.1.0.25 4.1.0.25
OSV PyPI opencv-contrib-python < 4.1.0.25 4.1.0.25
OSV PyPI opencv-contrib-python-headless < 4.1.0.25 4.1.0.25

References

History

  • 25 Nov 2026 20:31 UTC · NVD: first stored (published 6 Dec 2019)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Jul 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 Oct 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.