Skip to content

← Public intelligence

PyPI package

opencv-python-headless

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

9 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 8.6PyPIAmendedPublished

    opencv-python-headless bundled libwebp binaries in wheels that are vulnerable to CVE-2023-4863

    GHSA-jh2j-j4j9-crg3

    Affected
    • PyPI opencv-python-headless < 4.8.1.78
    Fixed in
    4.8.1.78· Vendor fix available
    Issue
    opencv-python-headless versions before v4.8.1.78 bundled libwebp binaries in wheels that are vulnerable to CVE-2023-4863. opencv-python-headless v4.8.1.78 upgrades the bundled libwebp binary to v1.3.2.

    Recommended action: Upgrade to 4.8.1.78 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. UnratedPyPIPublished

    PYSEC-2023-184

    Affected
    • PyPI opencv-python-headless < 4.8.1.78
    Fixed in
    4.8.1.78· Vendor fix available
    Issue
    opencv-python-headless versions before v4.8.1.78 bundled libwebp binaries in wheels that are vulnerable to CVE-2023-4863. opencv-python-headless v4.8.1.78 upgrades the bundled libwebp binary to v1.3.2.

    Recommended action: Upgrade to 4.8.1.78 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.devSource checked Evidence →
  3. High, CVSS 8.8PyPIAmendedPublished

    Out-of-bounds Write in OpenCV

    CVE-2019-5064 · GHSA-q799-q27x-vp7w

    Affected
    • PyPI opencv-python-headless <= 4.1.2.30
    Fixed in
    4.2.0.32· Vendor fix available
    Issue
    An exploitable heap buffer overflow vulnerability exists in the data structure persistence functionality of OpenCV, version 4.1.0 (corresponds with OpenCV-Python version 4.1.2.30). A specially crafted JSON file can cause a buffer overflow, resulting in multiple heap corruptions and potentially code execution. An attacker can provide a specially crafted file to trigger this vulnerability.

    Recommended action: Upgrade to 4.2.0.32 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  4. Medium, CVSS 6.5PyPIAmendedPublished

    Out-of-bounds Read in OpenCV

    CVE-2019-19624 · GHSA-jggw-2q6g-c3m6

    Affected
    • PyPI opencv-python-headless <= 4.1.0.24
    Fixed in
    4.1.0.25· Vendor fix available
    Issue
    An out-of-bounds read was discovered in OpenCV before 4.1.1 (OpenCV-Python before 4.1.0.25). Specifically, variable coarsestscale is assumed to be greater than or equal to finestscale within the calc()/oclcalc() functions in disflow.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.

    Recommended action: Upgrade to 4.1.0.25 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  5. Medium, CVSS 5.3PyPIAmendedPublished

    Out-of-bounds Read in OpenCV

    CVE-2019-16249 · GHSA-x3rm-644h-67m8

    Affected
    • PyPI opencv-python-headless <= 4.1.1.26
    Fixed in
    4.1.2.30· Vendor fix available
    Issue
    OpenCV 4.1.1 has an out-of-bounds read in halbaseline::vload in core/hal/intrinsse.hpp when called from computeSSDMeanNorm in modules/video/src/disflow.cpp.

    Recommended action: Upgrade to 4.1.2.30 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  6. Medium, CVSS 5.9PyPIAmendedPublished

    Divide By Zero in OpenCV.

    CVE-2019-15939 · GHSA-hxfw-jm98-v4mq

    Affected
    • PyPI opencv-python-headless <= 4.1.0.25
    Fixed in
    4.1.1.26· Vendor fix available
    Issue
    An issue was discovered in OpenCV 4.1.0 (OpenCV-Python 4.1.0.25). There is a divide-by-zero error in cv::HOGDescriptor::getDescriptorSize in modules/objdetect/src/hog.cpp.

    Recommended action: Upgrade to 4.1.1.26 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  7. High, CVSS 7.5PyPIAmendedPublished

    NULL Pointer Dereference in OpenCV.

    CVE-2019-14493 · GHSA-3448-vrgh-85xr

    Affected
    • PyPI opencv-python-headless <= 4.1.0.25
    Fixed in
    4.1.1.26· Vendor fix available
    Issue
    An issue was discovered in OpenCV before 4.1.1 (OpenCV-Python before 4.1.1.26). There is a NULL pointer dereference in the function cv::XMLParser::parse at modules/core/src/persistence.cpp.

    Recommended action: Upgrade to 4.1.1.26 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  8. High, CVSS 7.5PyPIAmendedPublished

    Out-of-bounds Read and Out-of-bounds Write in OpenCV

    CVE-2019-14492 · GHSA-fw99-f933-rgh8

    Affected
    • PyPI opencv-python-headless <= 3.4.6.27; >= 4.0.0.21, <= 4.1.0.25
    Fixed in
    4.1.1.263.4.7.28· Vendor fix available
    Issue
    An issue was discovered in OpenCV before 3.4.7 and 4.x before 4.1.1 (OpenCV-Python before 3.4.7.28 and 4.x before 4.1.1.26). There is an out of bounds read/write in the function HaarEvaluator::OptFeature::calc in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.

    Recommended action: Upgrade to 4.1.1.26 or 3.4.7.28 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  9. High, CVSS 8.2PyPIAmendedPublished

    Out-of-bounds Read in OpenCV

    CVE-2019-14491 · GHSA-fm39-cw8h-3p63

    Affected
    • PyPI opencv-python-headless <= 3.4.6.27; >= 4.0.0.21, <= 4.1.0.25
    Fixed in
    4.1.1.263.4.7.28· Vendor fix available
    Issue
    An issue was discovered in OpenCV before 3.4.7 and 4.x before 4.1.1 (OpenCV-Python before 3.4.7.28 and 4.x before 4.1.1.26). There is an out of bounds read in the function cv::predictOrdered<cv::HaarEvaluator in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.

    Recommended action: Upgrade to 4.1.1.26 or 3.4.7.28 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →