Skip to main content
CVE-2026-42308VulnerabilityPublished Updated

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

0
Compare
Authoritative record:CVE-2026-42308· Medium 5.1

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

CVSS 4.0 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSpillowpkg:deb/ubuntu/pillow?arch=source&distro=resoluteOther threatsAffected
  • <12.1.1-2ubuntu1.2
Fixed in
  • 12.1.1-2ubuntu1.2
Ubuntu 25.10pillowpkg:deb/ubuntu/pillow?arch=source&distro=questingOther threatsAffected
  • <11.3.0-1ubuntu1.3
Fixed in
  • 11.3.0-1ubuntu1.3
Ubuntu 24.04 LTSpillowpkg:deb/ubuntu/pillow?arch=source&distro=nobleOther threatsAffected
  • <10.2.0-1ubuntu1.2
Fixed in
  • 10.2.0-1ubuntu1.2
Ubuntu 22.04 LTSpillowpkg:deb/ubuntu/pillow?arch=source&distro=jammyOther threatsAffected
  • <9.0.1-1ubuntu0.4
Fixed in
  • 9.0.1-1ubuntu0.4
Ubuntu Pro 20.04 LTSpillowpkg:deb/ubuntu/pillow?arch=source&distro=esm-infra/focalOther threatsAffected
  • 6.1.0-1 – 7.0.0-4ubuntu0.9+esm2
16 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSpillow-python2pkg:deb/ubuntu/pillow-python2?arch=source&distro=esm-apps/focalOther threatsAffected
  • 6.2.1-3 – 6.2.1-3ubuntu0.1~esm2
4 affected builds
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

Community reviews

Loading reviews…