Is opencv-python 4.0 vulnerable?
PyPI · 3 releases from 4.0.0.21 to 4.0.1.24 · latest opencv-python is 5.1.0.95 · checked 18 Nov 2026
Yes: 11 known advisories
Yes. opencv-python 4.0.1.24, the last 4.0 release, is affected by 11 known security advisories (7 high, 3 medium, 1 low), including CVE-2019-5064, CVE-2019-5063, CVE-2019-9423. At least one has no fixed release yet.
Is your project on an affected opencv-python?
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.0.1.24
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
No summary published
- Affected
- <4.8.1.78
- Fixed in
- 4.8.1.78
Out-of-bounds Write in OpenCV
- Affected
- <4.2.0.32
- Fixed in
- 4.2.0.32
Out-of-bounds Write in OpenCV
- Affected
- <=4.1.0.25
- Fixed in
- No fix released
Out-of-bounds Read in OpenCV
- Affected
- <4.1.0.25
- Fixed in
- 4.1.0.25
Out-of-bounds Write in OpenCV
- Affected
- <=4.1.1.26
- Fixed in
- No fix released
Out-of-bounds Read in OpenCV
- Affected
- <4.1.2.30
- Fixed in
- 4.1.2.30
Divide By Zero in OpenCV.
- Affected
- <4.1.1.26
- Fixed in
- 4.1.1.26
NULL Pointer Dereference in OpenCV.
- Affected
- <4.1.1.26
- Fixed in
- 4.1.1.26
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
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.0.x release
Affected: 4.0.0.21 to 4.0.1.24. Latest opencv-python: 5.1.0.95.
| Version | Known advisories |
|---|---|
| opencv-python 4.0.1.24 | GHSA-qr4w-53vh-m672, PYSEC-2023-183, CVE-2019-5064, CVE-2019-5063, CVE-2019-19624, CVE-2019-9423, CVE-2019-16249, CVE-2019-15939, CVE-2019-14493, CVE-2019-14492, CVE-2019-14491 |
| opencv-python 4.0.1.23 | GHSA-qr4w-53vh-m672, PYSEC-2023-183, CVE-2019-5064, CVE-2019-5063, CVE-2019-19624, CVE-2019-9423, CVE-2019-16249, CVE-2019-15939, CVE-2019-14493, CVE-2019-14492, CVE-2019-14491 |
| opencv-python 4.0.0.21 | GHSA-qr4w-53vh-m672, PYSEC-2023-183, CVE-2019-5064, CVE-2019-5063, CVE-2019-19624, 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.0?
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.