Is opencv-python 4.1 vulnerable?

PyPI · 3 releases from 4.1.0.25 to 4.1.2.30 · latest opencv-python is 5.1.0.95 · checked 18 Nov 2026

Yes: 3 known advisories

Yes. opencv-python 4.1.2.30, the last 4.1 release, is affected by 3 known security advisories (2 high, 1 low), including CVE-2019-5064. 7 more affect earlier 4.1.x releases. Upgrade to 4.8.1.78 or later to fix all of them.

Upgrade with:pip install 'opencv-python>=4.8.1.78'

Is your project on an affected opencv-python?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting opencv-python 4.1.2.30

  • HighGHSA-qr4w-53vh-m67230 Aug 2024

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

    Affected
    <4.8.1.78
    Fixed in
    4.8.1.78
  • LowPYSEC-2023-18329 Sept 2023

    No summary published

    Affected
    <4.8.1.78
    Fixed in
    4.8.1.78
  • HighCVE-2019-5064GHSA-q799-q27x-vp7w12 Oct 2021

    Out-of-bounds Write in OpenCV

    Affected
    <4.2.0.32
    Fixed in
    4.2.0.32

Fixed within 4.1.x, affecting earlier releases

  • HighCVE-2019-5063GHSA-m6vm-8g8v-xfjh12 Oct 2021

    Out-of-bounds Write in OpenCV

    Affected
    <=4.1.0.25
    Fixed in
    No fix released
  • HighCVE-2019-9423GHSA-8849-5h85-98qw12 Oct 2021

    Out-of-bounds Write in OpenCV

    Affected
    <=4.1.1.26
    Fixed in
    No fix released
  • MediumCVE-2019-16249GHSA-x3rm-644h-67m812 Oct 2021

    Out-of-bounds Read in OpenCV

    Affected
    <4.1.2.30
    Fixed in
    4.1.2.30
  • MediumCVE-2019-15939GHSA-hxfw-jm98-v4mq12 Oct 2021

    Divide By Zero in OpenCV.

    Affected
    <4.1.1.26
    Fixed in
    4.1.1.26
  • HighCVE-2019-14493GHSA-3448-vrgh-85xr12 Oct 2021

    NULL Pointer Dereference in OpenCV.

    Affected
    <4.1.1.26
    Fixed in
    4.1.1.26
  • HighCVE-2019-14492GHSA-fw99-f933-rgh812 Oct 2021

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

    Affected
    <3.4.7.28 · >=4.0.0.21 <4.1.1.26
    Fixed in
    3.4.7.28, 4.1.1.26
  • HighCVE-2019-14491GHSA-fm39-cw8h-3p6312 Oct 2021

    Out-of-bounds Read in OpenCV

    Affected
    <3.4.7.28 · >=4.0.0.21 <4.1.1.26
    Fixed in
    3.4.7.28, 4.1.1.26

Every opencv-python 4.1.x release

Affected: 4.1.0.25 to 4.1.2.30. Latest opencv-python: 5.1.0.95.

VersionKnown advisories
opencv-python 4.1.2.30GHSA-qr4w-53vh-m672, PYSEC-2023-183, CVE-2019-5064
opencv-python 4.1.1.26GHSA-qr4w-53vh-m672, PYSEC-2023-183, CVE-2019-5064, CVE-2019-9423, CVE-2019-16249
opencv-python 4.1.0.25GHSA-qr4w-53vh-m672, PYSEC-2023-183, CVE-2019-5064, CVE-2019-5063, CVE-2019-9423, CVE-2019-16249, CVE-2019-15939, CVE-2019-14493, CVE-2019-14492, CVE-2019-14491

Which of your client projects are still on opencv-python 4.1?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact opencv-python version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other opencv-python versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the PyPI registry. Refreshed daily.