# CVE-2026-84311: pypdf: Possible long runtimes/large memory usage when extracting XForm objects

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-01 · Modified: 2026-09-02
- Aliases: GHSA-763m-79hh-57f2, PYSEC-2026-3911, UBUNTU-CVE-2026-84311, DEBIAN-CVE-2026-84311, CGA-9hhx-78hg-ggxx, CGA-rvvg-9xqg-84hp
- Record: https://cvemate.com/vulnerability/CVE-2026-84311 · JSON: https://cvemate.com/vulnerability/CVE-2026-84311/json

## Description

```text
pypdf is a free and open-source pure-python PDF library. Prior to 6.16.1, an attacker can craft a PDF that causes pypdf/_page.py PageObject._extract_text and PageObject.extract_xform_text to traverse a directed acyclic graph of reused form XObjects in which each form invokes a child multiple times, creating exponentially many traversal paths and causing long runtimes and large memory consumption. This issue is fixed in version 6.16.1.
```

## Signals

- CVSS: 4.8 medium (v4.0, CVE.org) CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- EPSS: 0.135%, percentile 3.134%, 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.3-r4
- wolfi open-webui (Wolfi): \< 0.11.3-r4
- 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.16.1
- pypdf\_project pypdf: \< 6.16.1
- PyPI pypdf (PyPI): \< 6.16.1

## References

- <https://github.com/py-pdf/pypdf/security/advisories/GHSA-763m-79hh-57f2>
- <https://github.com/py-pdf/pypdf/pull/3966>
- <https://github.com/py-pdf/pypdf/commit/d91ab705fd81ed1a9cec175c6958600dea1a4942>
- <https://github.com/py-pdf/pypdf/releases/tag/6.16.1>
- <https://github.com/py-pdf/pypdf>
- <https://pypi.org/project/pypdf>
- <https://github.com/advisories/GHSA-763m-79hh-57f2>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-84311>
- <https://ubuntu.com/security/CVE-2026-84311>
- <https://www.cve.org/CVERecord?id=CVE-2026-84311>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2527050>
- <https://security-tracker.debian.org/tracker/CVE-2026-84311>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84311.json>

---

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