# CVE-2026-102998: pypdf: Possible long runtimes when generating appearance streams

- 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.19.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-09-30 · Modified: 2026-09-30
- Aliases: GHSA-php9-fj8v-98fj, PYSEC-2026-4157, UBUNTU-CVE-2026-102998, DEBIAN-CVE-2026-102998, CGA-fg6x-24xx-qv57
- Record: https://cvemate.com/vulnerability/CVE-2026-102998 · JSON: https://cvemate.com/vulnerability/CVE-2026-102998/json

## Description

```text
pypdf is a free and open-source pure-python PDF library. Prior to 6.19.0, a crafted PDF with form field values can cause pypdf/generic/_appearance_stream.py appearance-stream generation to repeat invariant selection-data work inside a loop when an application updates fields with flattening enabled, resulting in excessive runtimes and application unavailability. This issue is fixed in version 6.19.0.
```

## 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.19.0
- pypdf\_project pypdf: \< 6.19.0
- PyPI pypdf (PyPI): \< 6.19.0

## References

- <https://github.com/py-pdf/pypdf/security/advisories/GHSA-php9-fj8v-98fj>
- <https://github.com/py-pdf/pypdf/pull/4087>
- <https://github.com/py-pdf/pypdf/commit/959467a9b95be83e2dc5ae873ece5f371263ede7>
- <https://github.com/py-pdf/pypdf/releases/tag/6.19.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-102998>
- <https://github.com/py-pdf/pypdf>
- <https://pypi.org/project/pypdf>
- <https://github.com/advisories/GHSA-php9-fj8v-98fj>
- <https://ubuntu.com/security/CVE-2026-102998>
- <https://www.cve.org/CVERecord?id=CVE-2026-102998>
- <https://security-tracker.debian.org/tracker/CVE-2026-102998>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102998.json>

---

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