# CVE-2026-102997: pypdf: Possible long runtimes for partially malformed FlateDecode streams (Follow-up)

- 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-10-02
- Aliases: GHSA-jw7q-gvrg-4vj3, PYSEC-2026-4156, UBUNTU-CVE-2026-102997, DEBIAN-CVE-2026-102997, CGA-qr5f-38f7-xr6v
- Record: https://cvemate.com/vulnerability/CVE-2026-102997 · JSON: https://cvemate.com/vulnerability/CVE-2026-102997/json

## Description

```text
pypdf is a free and open-source pure-python PDF library. Prior to 6.18.1, a crafted PDF containing a partially malformed /FlateDecode stream with padded data can force pypdf/filters.py to use inefficient byte-by-byte decompression while the earlier recovery counter fails to advance for bytes that successfully decode, causing long runtimes and application unavailability. This is a residual issue after the malformed FlateDecode recovery fix. 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.492%, 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
- debian pypdf2 (Debian): All versions (No fix recorded)
- 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-jw7q-gvrg-4vj3>
- <https://github.com/py-pdf/pypdf/pull/4073>
- <https://github.com/py-pdf/pypdf/commit/d9d38cf99b115deb562d3b68f36c33027bc04f79>
- <https://github.com/py-pdf/pypdf/releases/tag/6.18.1>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-102997>
- <https://github.com/py-pdf/pypdf>
- <https://pypi.org/project/pypdf>
- <https://github.com/advisories/GHSA-jw7q-gvrg-4vj3>
- <https://ubuntu.com/security/CVE-2026-102997>
- <https://www.cve.org/CVERecord?id=CVE-2026-102997>
- <https://security-tracker.debian.org/tracker/CVE-2026-102997>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102997.json>

---

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