# CVE-2026-119204: pypdf: Possible large memory usage when parsing page tree

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-29 · Modified: 2026-11-04
- Aliases: DEBIAN-CVE-2026-119204, GHSA-cggf-277g-3q54, UBUNTU-CVE-2026-119204, CGA-cjxq-9r7m-mf25, CGA-r94g-cjv2-fp9c
- Record: https://cvemate.com/vulnerability/CVE-2026-119204 · JSON: https://cvemate.com/vulnerability/CVE-2026-119204/json

## Description

```text
pypdf is a free and open-source pure-python PDF library. Prior to 6.21.4, pypdf can consume excessive memory while parsing a crafted PDF page tree containing many shared resources. Page-tree flattening copies page dictionary and inherited resource entries without a document-wide entry budget, allowing the crafted resource structure to cause disproportionate allocations. This issue is fixed in version 6.21.4.
```

## Signals

- CVSS: 7.1 high (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.329%, percentile 28.082%, 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 nemo (Chainguard): \< 2.7.3-r45
- chainguard open-webui (Chainguard): All versions (No fix recorded) \| \< 0.12.3-r15
- wolfi open-webui (Wolfi): All versions (No fix recorded) \| \< 0.12.3-r15
- debian pypdf (Debian): All versions (No fix recorded) \| \< 6.21.4-1
- debian pypdf2 (Debian): All versions (No fix recorded)
- ubuntu pypdf (Ubuntu): All versions (No fix recorded)
- py-pdf pypdf: \< 6.21.4
- pypdf\_project pypdf: \< 6.21.4
- PyPI pypdf (PyPI): \< 6.21.4

## References

- <https://github.com/py-pdf/pypdf/security/advisories/GHSA-cggf-277g-3q54>
- <https://github.com/py-pdf/pypdf/pull/4290>
- <https://github.com/py-pdf/pypdf/commit/ea4ac663133f1b3de1d7a8f2e6fa239802fde79e>
- <https://github.com/py-pdf/pypdf/releases/tag/6.21.4>
- <https://security-tracker.debian.org/tracker/CVE-2026-119204>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-119204>
- <https://github.com/py-pdf/pypdf>
- <https://ubuntu.com/security/CVE-2026-119204>
- <https://www.cve.org/CVERecord?id=CVE-2026-119204>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119204.json>

---

Data as of 2026-12-05T03:45:14.132Z. 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
