CVE-2019-9423
Out-of-bounds Write in OpenCV
Also known as GHSA-8849-5h85-98qw, PYSEC-2026-2796, PYSEC-2026-2811, PYSEC-2026-2835, PYSEC-2026-719
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Projects that depend on PyPI package opencv-python (<= 4.1.1.26)
- Projects that depend on PyPI package opencv-python-headless (<= 4.1.1.26)
- Projects that depend on PyPI package opencv-contrib-python (<= 4.1.1.26)
- Projects that depend on PyPI package opencv-contrib-python-headless (<= 4.1.1.26)
- Anyone running Android Android-10
Vulnerability facts
- Affected
- opencv-python <= 4.1.1.26; opencv-python-headless <= 4.1.1.26; opencv-contrib-python <= 4.1.1.26; opencv-contrib-python-headless <= 4.1.1.26
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- CWE
- CWE-787
- Modified
Description
In opencv calls that use libpng, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges required. User interaction is not required for exploitation. Product: AndroidVersions: Android-10Android ID: A-110986616
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI opencv-python | <= 4.1.1.26 | — | osv |
| PyPI opencv-python-headless | <= 4.1.1.26 | — | osv |
| PyPI opencv-contrib-python | <= 4.1.1.26 | — | osv |
| PyPI opencv-contrib-python-headless | <= 4.1.1.26 | — | osv |
| Android | Android-10 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2019-9423. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2019-9423.md Affected: opencv-python <= 4.1.1.26; opencv-python-headless <= 4.1.1.26; opencv-contrib-python <= 4.1.1.26; opencv-contrib-python-headless <= 4.1.1.26 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for opencv-python (PyPI), opencv-python-headless (PyPI), opencv-contrib-python (PyPI), opencv-contrib-python-headless (PyPI), Android: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- http://www.openwall.com/lists/oss-security/2019/10/25/17
- http://www.openwall.com/lists/oss-security/2019/10/27/1
- http://www.openwall.com/lists/oss-security/2019/11/07/1
- http://www.openwall.com/lists/oss-security/2020/12/05/1
- https://github.com/opencv/opencv-python
- https://pypi.org/project/opencv-contrib-python
- https://pypi.org/project/opencv-python
- https://pypi.org/project/opencv-python-headless
- https://pypi.org/project/opencv-contrib-python-headless
FAQ
Is CVE-2019-9423 being exploited?
There is no confirmed exploitation: CVE-2019-9423 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2019-9423?
High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2019-9423?
opencv-python <= 4.1.1.26; opencv-python-headless <= 4.1.1.26; opencv-contrib-python <= 4.1.1.26; opencv-contrib-python-headless <= 4.1.1.26.
Is there a fix for CVE-2019-9423?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2019-9423?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.