CVE-2022-22815 Improper Initialization in Pillow

Medium 6.5 Published Updated

Improper initialization in Pillow's path bounding box calculation may lead to undefined behavior or crashes when processing images.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-22815?

CVE-2022-22815 is a medium-severity vulnerability in Debian Debian Linux, published on 7 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

path_getbbox in path.c in Pillow before 9.0.0 improperly initializes ImagePath.Path.

Weakness: CWE-665

Which versions are affected by CVE-2022-22815?

4 open source packages ship an affected version, including pillow. It affects 2 products.

PackageAffectedFixed in
pillow BitnamiAll versions9.0.0
pillow PyPIAll versions9.0.0
pillow PyPIAll versions9.0.0
pillow PyPIAll versions9.0.0

Products include Debian Debian Linux, Python Pillow.

How do I fix CVE-2022-22815?

Upgrade pillow to 9.0.0 or later.

Is CVE-2022-22815 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2022-22815, BIT-pillow-2022-22815, DEBIAN-CVE-2022-22815, GHSA-pw3c-h7wp-cvhx, PYSEC-2022-8, UBUNTU-CVE-2022-22815.

Is CVE-2022-22815 in your software?

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

Check your SBOMs for free