{"schemaVersion":3,"id":"CVE-2019-19624","aliases":["GHSA-jggw-2q6g-c3m6","PYSEC-2026-2800","PYSEC-2026-2824","PYSEC-2026-2839","PYSEC-2026-723","UBUNTU-CVE-2019-19624","DEBIAN-CVE-2019-19624"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2019-12-06T14:26:56.000Z","modified":"2024-08-05T02:25:12.094Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","exploitability":10,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","exploitability":10,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","exploitability":10,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.4,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01756,"percentile":0.77629,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01756},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01756,"percentile":0.77629}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01756,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01756,"percentile":0.77629}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_OPENCV_OPENCV","name":"Opencv","source":"github","url":"https://github.com/opencv/opencv/issues/9723","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"}],"affected":[{"vendor":"debian","product":"opencv","name":"opencv","label":"opencv","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/opencv","purlType":"deb","versions":[{"text":"< 4.1.2+dfsg-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.1.2+dfsg-3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"opencv","name":"opencv","label":"opencv","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/opencv","purlType":"deb","versions":[{"text":"< 3.2.0+dfsg-4ubuntu0.1+esm4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.2.0+dfsg-4ubuntu0.1+esm4","eol":null,"hubHref":null},{"vendor":"opencv","product":"opencv","name":"opencv","label":"opencv","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.1.1","eol":null,"hubHref":"/vendor/opencv/opencv"},{"vendor":"PyPI","product":"opencv-contrib-python","name":"opencv-contrib-python","label":"opencv-contrib-python","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/opencv-contrib-python","purlType":"pypi","versions":[{"text":"< 4.1.0.25","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.1.0.25","eol":null,"hubHref":null},{"vendor":"PyPI","product":"opencv-contrib-python-headless","name":"opencv-contrib-python-headless","label":"opencv-contrib-python-headless","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/opencv-contrib-python-headless","purlType":"pypi","versions":[{"text":"< 4.1.0.25","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.1.0.25","eol":null,"hubHref":null},{"vendor":"PyPI","product":"opencv-python","name":"opencv-python","label":"opencv-python","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/opencv-python","purlType":"pypi","versions":[{"text":"< 4.1.0.25","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.1.0.25","eol":null,"hubHref":null},{"vendor":"PyPI","product":"opencv-python-headless","name":"opencv-python-headless","label":"opencv-python-headless","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/opencv-python-headless","purlType":"pypi","versions":[{"text":"< 4.1.0.25","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.1.0.25","eol":null,"hubHref":null},{"vendor":"redhat","product":"enterprise_linux","name":"enterprise linux","label":"enterprise_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0","eol":{"isEol":false,"eolDate":"2029-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Upcoming ELS)","eolFrom":"2029-05-31T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"8.10"},"product":{"name":"rhel","label":"Red Hat Enterprise Linux","category":"os"}},"hubHref":"/vendor/redhat/enterprise_linux"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/opencv/opencv/issues/14554","label":"github.com/opencv/opencv/issues/14554","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT","Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/opencv/opencv/commit/d1615ba11a93062b1429fce9f0f638d1572d3418","label":"github.com/opencv/opencv/commit/d1615ba11a93062b1429fce9f0f638d1572d3418","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-19624","label":"nvd.nist.gov/vuln/detail/CVE-2019-19624","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/cve-2019-19624","label":"access.redhat.com/security/cve/cve-2019-19624","hostname":"access.redhat.com","tags":["WEB","Third Party Advisory"]},{"url":"https://github.com/opencv/opencv-python","label":"github.com/opencv/opencv-python","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/opencv/opencv-python/releases/tag/25","label":"github.com/opencv/opencv-python/releases/tag/25","hostname":"github.com","tags":["WEB"]},{"url":"https://pypi.org/project/opencv-contrib-python","label":"pypi.org/project/opencv-contrib-python","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-jggw-2q6g-c3m6","label":"github.com/advisories/GHSA-jggw-2q6g-c3m6","hostname":"github.com","tags":["Advisory"]},{"url":"https://pypi.org/project/opencv-python","label":"pypi.org/project/opencv-python","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://pypi.org/project/opencv-python-headless","label":"pypi.org/project/opencv-python-headless","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://pypi.org/project/opencv-contrib-python-headless","label":"pypi.org/project/opencv-contrib-python-headless","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://ubuntu.com/security/CVE-2019-19624","label":"ubuntu.com/security/CVE-2019-19624","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-19624","label":"www.cve.org/CVERecord?id=CVE-2019-19624","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7247-1","label":"ubuntu.com/security/notices/USN-7247-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-19624","label":"security-tracker.debian.org/tracker/CVE-2019-19624","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["USN-7247-1"],"duplicates":[],"related":["USN-7247-1"]},"timeline":[{"kind":"published","date":"2019-12-06T14:26:56.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T02:25:12.094Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T02:10:44.398Z","stale":false,"partial":false}}