CVE-2026-42308: Pillow is a Python imaging library
CVE-2026-42308 is a medium-severity flaw (CVSS 5.5) affecting pillow. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.5 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.1% (top 99%) |
| CISA exploited list | No |
| Weakness | CWE-190 |
| Published | 2026-05-09 |
| Last modified | 2026-07-24 |
Last updated 2026-07-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-42308?
pillow: upgrade to 12.2.0. Exact commands for each OS are on this page.
Is CVE-2026-42308 being exploited?
CVE-2026-42308 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-42308 affect?
CVE-2026-42308 affects pillow. Severity is medium (CVSS 5.5). 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
How urgent is CVE-2026-42308?
Priority 20/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-112403 CRITICAL 9.8 UPGRADE Pillow is a Python imaging library
- CVE-2026-112404 HIGH 8.2 UPGRADE Pillow is a Python imaging library
- CVE-2026-112405 HIGH 7.5 UPGRADE Pillow is a Python imaging library
- CVE-2026-112406 HIGH 7.5 UPGRADE Pillow is a Python imaging library
- CVE-2026-112891 HIGH 7.5 UPGRADE Pillow is a Python imaging library