# CVE-2026-42308: Pillow: Integer overflow when processing fonts

- Priority: **Routine**
- Reason: Not severe (CVSS 5.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-09 · Modified: 2026-05-11
- Aliases: GHSA-wjx4-4jcj-g98j, BIT-pillow-2026-42308, PYSEC-2026-165, UBUNTU-CVE-2026-42308, DEBIAN-CVE-2026-42308, CGA-7whc-6c4p-58xv, CGA-9fxw-jx5x-55h9, CGA-gq5w-f93m-2fhw, CGA-jxrr-prpg-68v7, CGA-rp73-26r7-mggc, CGA-xvh8-5m62-8vh5
- Record: https://cvemate.com/vulnerability/CVE-2026-42308 · JSON: https://cvemate.com/vulnerability/CVE-2026-42308/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.114%, percentile 1.592%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard kubeflow-pipelines-visualization-server (Chainguard): \< 2.16.1-r0
- chainguard mlflow (Chainguard): \< 3.16.0-r0
- chainguard open-webui (Chainguard): \< 0.11.0-r0
- chainguard superset-6.0 (Chainguard): \< 6.0.0-r10
- wolfi kubeflow-pipelines-visualization-server (Wolfi): \< 2.16.1-r0
- wolfi mlflow (Wolfi): \< 3.16.0-r0
- wolfi open-webui (Wolfi): \< 0.11.0-r0
- wolfi superset-6.0 (Wolfi): \< 6.0.0-r10
- debian pillow (Debian): All versions (No fix recorded) \| \< 11.1.0-5+deb13u3 \| \< 12.2.0-1
- ubuntu pillow (Ubuntu): All versions (No fix recorded) \| \< 2.3.0-1ubuntu3.4+esm6 \| \< 3.1.2-0ubuntu1.6+esm4 \| \< 5.1.0-1ubuntu0.8+esm3 \| \< 7.0.0-4ubuntu0.9+esm2 \| \< 9.0.1-1ubuntu0.4 \| \< 10.2.0-1ubuntu1.2 \| \< 11.3.0-1ubuntu1.3 \| \< 12.1.1-2ubuntu1.2
- ubuntu pillow-python2 (Ubuntu): All versions (No fix recorded)
- PyPI pillow (PyPI): \< 12.2.0
- python-pillow pillow: \< 12.2.0
- python pillow: \< 12.2.0

## References

- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-wjx4-4jcj-g98j>
- <https://github.com/python-pillow/Pillow/releases/tag/12.2.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42308>
- <https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-165.yaml>
- <https://github.com/python-pillow/Pillow>
- <https://ubuntu.com/security/CVE-2026-42308>
- <https://www.cve.org/CVERecord?id=CVE-2026-42308>
- <https://github.com/python-pillow/Pillow/pull/9518/changes>
- <https://ubuntu.com/security/notices/USN-8399-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-42308>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42308.json>
- <https://ubuntu.com/security/notices/USN-9064-1>

---

Data as of 2026-12-05T04:44:18.126Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
