cve.bz

CVE-2026-42310

5.1 mediumEPSS 0.2%

Medium (5.1) in python pillow. EPSS 0.2% chance of exploitation in the next 30 days. Fixed in pillow 12.2.0.

Pillow is a Python imaging library. From version 4.2.0 to before version 12.2.0, an attacker can supply a malicious PDF that causes the process to hang indefinitely, consuming 100% CPU and making the application unresponsive. This issue has been patched in version 12.2.0.

Severity

CVSS 4.0

5.1 medium
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.2% chance of exploitation in the next 30 days; higher than 6% of CVEs (scores of 2026-10-31)
CWE
CWE-835
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-r73j-pqj5-w3x7PyPIpillow>=4.2.0 <12.2.012.2.0
PYSEC-2026-2874PyPIpillow>=4.2.0 <12.2.012.2.0

References

Check your stackJSON