Prior to version 12.2.0, if a font advances for each glyph by an exceeding large amount, when Pillow keeps track of
Affects pillowSource GCVE Database
Not known to be exploited · CVSS 5.1 Medium · fixed in 9.0.1-1ubuntu0.4 : update pillow when convenient.
Data as of 13 Nov 2026, 02:14 UTC
- Patch
- Available – fixed in 9.0.1-1ubuntu0.4, 10.2.0-1ubuntu1.2, 11.3.0-1ubuntu1.3 +1
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 9 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSpillowpkg:deb/ubuntu/pillow?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 25.10pillowpkg:deb/ubuntu/pillow?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSpillowpkg:deb/ubuntu/pillow?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSpillowpkg:deb/ubuntu/pillow?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSpillowpkg:deb/ubuntu/pillow?arch=source&distro=esm-infra/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSpillow-python2pkg:deb/ubuntu/pillow-python2?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
This vulnerability has been fixed in Pillow version 12.2.0 and in the corresponding Ubuntu package versions 9.0.1-1ubuntu0.4, 10.2.0-1ubuntu1.2, 11.3.0-1ubuntu1.3, and 12.1.1-2ubuntu1.2. Users should update to these patched versions to remediate the issue. Standard system updates on supported Ubuntu releases will apply these fixes. No additional mitigation steps are required.
Description
Pillow, a Python imaging library, had a vulnerability prior to version 12.2.0 where handling fonts with excessively large glyph advance values could cause an integer overflow. This flaw could lead to a denial of service by crashing the Pillow library. The issue has been addressed and fixed in version 12.2.0 and corresponding patched Ubuntu package versions.
References
- ubuntu.com/security/CVE-2026-42308 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-42308 (opens in a new tab)
- github.com/python-pillow/Pillow/security/advisories/GHSA-wjx4-4jcj-g98j (opens in a new tab)
- github.com/python-pillow/Pillow/pull/9518/changes (opens in a new tab)
- github.com/python-pillow/Pillow/releases/tag/12.2.0 (opens in a new tab)
- ubuntu.com/security/notices/USN-8399-1 (opens in a new tab)