# CVE-2026-102996: pypdf: Possible large memory usage when parsing font data

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 6.18.1 (CNA); fix release not confirmed
- Status: published
- Published: 2026-09-30 · Modified: 2026-09-30
- Aliases: GHSA-g9cg-prrw-2r8q, PYSEC-2026-4155, UBUNTU-CVE-2026-102996, DEBIAN-CVE-2026-102996, CGA-7g8g-r3pq-49fp
- Record: https://cvemate.com/vulnerability/CVE-2026-102996 · JSON: https://cvemate.com/vulnerability/CVE-2026-102996/json

## Description

```text
pypdf is a free and open-source pure-python PDF library. Prior to 6.18.1, a crafted PDF can provide a TrueType or Type1 simple font with an unusually large /Widths array, causing pypdf/_font.py Font._collect_tt_t1_character_widths to process entries beyond the 256 character codes meaningful for a simple font and consume excessive memory during operations such as text extraction. This issue is fixed in version 6.18.1.
```

## Signals

- CVSS: 8.7 high (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.34%, percentile 29.493%, 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 open-webui (Chainguard): \< 0.11.4-r3
- wolfi open-webui (Wolfi): \< 0.11.4-r3
- debian pypdf (Debian): All versions (No fix recorded) \| \< 6.19.0-1
- ubuntu pypdf (Ubuntu): All versions (No fix recorded)
- ubuntu pypdf2 (Ubuntu): All versions (No fix recorded)
- py-pdf pypdf: \< 6.18.1
- pypdf\_project pypdf: \< 6.18.1
- PyPI pypdf (PyPI): \< 6.18.1

## References

- <https://github.com/py-pdf/pypdf/security/advisories/GHSA-g9cg-prrw-2r8q>
- <https://github.com/py-pdf/pypdf/pull/4072>
- <https://github.com/py-pdf/pypdf/commit/0fb26eb8cdd01c44b3b2c9fe8329751be2f7cfd5>
- <https://github.com/py-pdf/pypdf/releases/tag/6.18.1>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-102996>
- <https://github.com/py-pdf/pypdf>
- <https://pypi.org/project/pypdf>
- <https://github.com/advisories/GHSA-g9cg-prrw-2r8q>
- <https://ubuntu.com/security/CVE-2026-102996>
- <https://www.cve.org/CVERecord?id=CVE-2026-102996>
- <https://security-tracker.debian.org/tracker/CVE-2026-102996>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102996.json>

---

Data as of 2026-12-05T08:27:00.017Z. 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
