PYSEC-2026-723

Vulnerability from pysec - Published: 2026-07-02 14:13 - Updated: 2026-07-06 07:37
VLAI
Details

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.

Impacted products
Name purl
opencv-contrib-python-headless pkg:pypi/opencv-contrib-python-headless

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "opencv-contrib-python-headless",
        "purl": "pkg:pypi/opencv-contrib-python-headless"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.1.0.25"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.4.0.14",
        "3.4.1.15",
        "3.4.10.37",
        "3.4.11.39",
        "3.4.11.41",
        "3.4.11.43",
        "3.4.11.45",
        "3.4.13.47",
        "3.4.14.51",
        "3.4.14.53",
        "3.4.15.55",
        "3.4.16.57",
        "3.4.16.59",
        "3.4.17.61",
        "3.4.17.63",
        "3.4.18.65",
        "3.4.2.17",
        "3.4.3.18",
        "3.4.4.19",
        "3.4.5.20",
        "3.4.6.27",
        "3.4.7.28",
        "3.4.8.29",
        "3.4.9.33",
        "4.0.0.21",
        "4.0.1.23",
        "4.0.1.24"
      ]
    }
  ],
  "aliases": [
    "CVE-2019-19624",
    "GHSA-jggw-2q6g-c3m6"
  ],
  "details": "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.",
  "id": "PYSEC-2026-723",
  "modified": "2026-07-06T07:37:01.098845Z",
  "published": "2026-07-02T14:13:13.279329Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-19624"
    },
    {
      "type": "WEB",
      "url": "https://github.com/opencv/opencv/issues/14554"
    },
    {
      "type": "WEB",
      "url": "https://github.com/opencv/opencv/commit/d1615ba11a93062b1429fce9f0f638d1572d3418"
    },
    {
      "type": "WEB",
      "url": "https://access.redhat.com/security/cve/cve-2019-19624"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/opencv/opencv-python"
    },
    {
      "type": "WEB",
      "url": "https://github.com/opencv/opencv-python/releases/tag/25"
    },
    {
      "type": "PACKAGE",
      "url": "https://pypi.org/project/opencv-contrib-python-headless"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-jggw-2q6g-c3m6"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Out-of-bounds Read in OpenCV"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…