ubuntu-cve-2019-19624
Vulnerability from osv_ubuntu
Published
2019-12-06 15:15
Modified
2026-04-22 07:39
Summary
Details

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.

Severity

{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "libopencv-calib3d3.2",
            "binary_version": "3.2.0+dfsg-4ubuntu0.1+esm4"
          },
          {
            "binary_name": "libopencv-contrib3.2",
            "binary_version": "3.2.0+dfsg-4ubuntu0.1+esm4"
          },
          {
            "binary_name": "libopencv-core3.2",
            "binary_version": "3.2.0+dfsg-4ubuntu0.1+esm4"
          },
          {
            "binary_name": "libopencv-features2d3.2",
            "binary_version": "3.2.0+dfsg-4ubuntu0.1+esm4"
          },
          {
            "binary_name": "libopencv-flann3.2",
            "binary_version": "3.2.0+dfsg-4ubuntu0.1+esm4"
          },
          {
            "binary_name": "libopencv-highgui3.2",
            "binary_version": "3.2.0+dfsg-4ubuntu0.1+esm4"
          },
          {
            "binary_name": "libopencv-imgcodecs3.2",
            "binary_version": "3.2.0+dfsg-4ubuntu0.1+esm4"
          },
          {
            "binary_name": "libopencv-imgproc3.2",
            "binary_version": "3.2.0+dfsg-4ubuntu0.1+esm4"
          },
          {
            "binary_name": "libopencv-ml3.2",
            "binary_version": "3.2.0+dfsg-4ubuntu0.1+esm4"
          },
          {
            "binary_name": "libopencv-objdetect3.2",
            "binary_version": "3.2.0+dfsg-4ubuntu0.1+esm4"
          },
          {
            "binary_name": "libopencv-photo3.2",
            "binary_version": "3.2.0+dfsg-4ubuntu0.1+esm4"
          },
          {
            "binary_name": "libopencv-shape3.2",
            "binary_version": "3.2.0+dfsg-4ubuntu0.1+esm4"
          },
          {
            "binary_name": "libopencv-stitching3.2",
            "binary_version": "3.2.0+dfsg-4ubuntu0.1+esm4"
          },
          {
            "binary_name": "libopencv-superres3.2",
            "binary_version": "3.2.0+dfsg-4ubuntu0.1+esm4"
          },
          {
            "binary_name": "libopencv-video3.2",
            "binary_version": "3.2.0+dfsg-4ubuntu0.1+esm4"
          },
          {
            "binary_name": "libopencv-videoio3.2",
            "binary_version": "3.2.0+dfsg-4ubuntu0.1+esm4"
          },
          {
            "binary_name": "libopencv-videostab3.2",
            "binary_version": "3.2.0+dfsg-4ubuntu0.1+esm4"
          },
          {
            "binary_name": "libopencv-viz3.2",
            "binary_version": "3.2.0+dfsg-4ubuntu0.1+esm4"
          },
          {
            "binary_name": "libopencv3.2-java",
            "binary_version": "3.2.0+dfsg-4ubuntu0.1+esm4"
          },
          {
            "binary_name": "libopencv3.2-jni",
            "binary_version": "3.2.0+dfsg-4ubuntu0.1+esm4"
          },
          {
            "binary_name": "opencv-data",
            "binary_version": "3.2.0+dfsg-4ubuntu0.1+esm4"
          },
          {
            "binary_name": "python-opencv",
            "binary_version": "3.2.0+dfsg-4ubuntu0.1+esm4"
          },
          {
            "binary_name": "python3-opencv",
            "binary_version": "3.2.0+dfsg-4ubuntu0.1+esm4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "opencv",
        "purl": "pkg:deb/ubuntu/opencv@3.2.0+dfsg-4ubuntu0.1+esm4?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.2.0+dfsg-4ubuntu0.1+esm4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.1.0+dfsg1-1~exp1ubuntu3",
        "3.2.0+dfsg-3",
        "3.2.0+dfsg-4",
        "3.2.0+dfsg-4build1",
        "3.2.0+dfsg-4build2",
        "3.2.0+dfsg-4ubuntu0.1",
        "3.2.0+dfsg-4ubuntu0.1+esm2",
        "3.2.0+dfsg-4ubuntu0.1+esm3"
      ]
    }
  ],
  "aliases": [],
  "details": "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.",
  "id": "UBUNTU-CVE-2019-19624",
  "modified": "2026-04-22T07:39:12Z",
  "published": "2019-12-06T15:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2019-19624"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/opencv/opencv/issues/14554"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2019-19624"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7247-1"
    }
  ],
  "related": [
    "USN-7247-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "low",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2019-19624"
  ]
}



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…