CVE-2026-42308

MEDIUM CVSS 4.0: 5.1 EPSS 0.11%
Updated Jul 25, 2026
Python
Parameter Value
CVSS 5.1 (MEDIUM)
Affected Versions before 12.2.0
Fixed In 12.2.0
Type CWE-190 (Integer Overflow)
Vendor Python
Public PoC No

Pillow is a Python imaging library. Prior to version 12.2.0, if a font advances for each glyph by an exceeding large amount, when Pillow keeps track of the current position, it may lead to an integer overflow. This issue has been patched in version 12.2.0.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
Low
Partial disruption

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Python Pillow
cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*
— 12.2.0