CVE-2019-9423 Out-of-bounds Write in OpenCV

High 7.8 Published Updated

A missing bounds check in OpenCV's libpng usage allows local attackers to escalate privileges on Android devices without user interaction.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2019-9423?

CVE-2019-9423 is a high-severity memory corruption vulnerability in Google Android, published on 27 Sep 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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

Weakness: CWE-787

Which versions are affected by CVE-2019-9423?

12 open source packages ship an affected version, including opencv-contrib-python, opencv-contrib-python-headless and opencv-python. It affects 1 product.

PackageAffectedFixed in
opencv-contrib-python PyPIAll versions to 4.1.1.26None
opencv-contrib-python PyPIAll versions to 4.1.1.26None
opencv-contrib-python PyPIAll versions to 4.1.1.26None
opencv-contrib-python-headless PyPIAll versions to 4.1.1.26None
opencv-contrib-python-headless PyPIAll versions to 4.1.1.26None
opencv-contrib-python-headless PyPIAll versions to 4.1.1.26None
6 more packages
opencv-python PyPIAll versions to 4.1.1.26None
opencv-python PyPIAll versions to 4.1.1.26None
opencv-python PyPIAll versions to 4.1.1.26None
opencv-python-headless PyPIAll versions to 4.1.1.26None
opencv-python-headless PyPIAll versions to 4.1.1.26None
opencv-python-headless PyPIAll versions to 4.1.1.26None

Products include Google Android.

How do I fix CVE-2019-9423?

No fix has been published for CVE-2019-9423 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2019-9423 being exploited?

There is no known exploitation of CVE-2019-9423 in the wild and no public exploit code.

All Google Android vulnerabilities

Sources

Also known as GHSA-8849-5h85-98qw, PYSEC-2026-2796, PYSEC-2026-2811, PYSEC-2026-2835, PYSEC-2026-719, UBUNTU-CVE-2019-9423.

Is CVE-2019-9423 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free