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

Not scored Published

Attackers can execute arbitrary code or cause denial of service by tricking users into processing malicious WebP images with vulnerable opencv-python-headless versions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is GHSA-jh2j-j4j9-crg3?

GHSA-jh2j-j4j9-crg3 is a memory corruption vulnerability in opencv-python-headless, published on 30 Aug 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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.

Which versions are affected by GHSA-jh2j-j4j9-crg3?

2 open source packages ship an affected version, including opencv-python-headless.

PackageAffectedFixed in
opencv-python-headless PyPIAll versions4.8.1.78
opencv-python-headless PyPIAll versions4.8.1.78

How do I fix GHSA-jh2j-j4j9-crg3?

Upgrade opencv-python-headless to 4.8.1.78 or later.

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

Is GHSA-jh2j-j4j9-crg3 being exploited?

There is no known exploitation of GHSA-jh2j-j4j9-crg3 in the wild and no public exploit code.

Sources

Is GHSA-jh2j-j4j9-crg3 in your software?

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

Check your SBOMs for free