Vulnerability · CVE-2026-119204
pypdf has possible large memory usage when parsing page tree
Published Oct 30, 2026 · catalog updated Oct 30, 2026 · pypdf has possible large
Last checked Nov 4, 2026. A connected source was read within the last 7 days.
Check if you run it
No confirmed exploitation is on record for CVE-2026-119204. EPSS is 0.22%. Act only if a listed version of pypdf has possible large is installed.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (pypdf has possible large).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- Severity
- High—
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 0.22%
- Remediation
- Version ranges on file
- Affected products
- PyPI pypdf · pip pypdf · pypi pypdf
### Impact An attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the page tree with many shared resources. ### Patches This has been fixed in [pypdf==6.21.4](https://github.com/py-pdf/pypdf/releases/tag/6.21.4). ### Workarounds If you cannot upgrade yet, consider applying the changes from PR [#4290](https://github.com/py-pdf/pypdf/pull/4290).
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- PyPI pypdf0 → 6.21.4
- pip pypdf< 6.21.4
- pypi pypdf<6.21.4
How to fix CVE-2026-119204
Upgrade
CVE-2026-119204 lists a fix boundary at 6.21.4. Compare the installed build with that boundary before you change production.
Version check
Affected < 6.21.4
Advisory
Open the cve_org record and follow its fix.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2026-119204. EPSS is 0.22%. Act only if a listed version of pypdf has possible large is installed.
Which versions are affected?
Compare what you have installed with 0 → 6.21.4, < 6.21.4, <6.21.4. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
CWE-400: Uncontrolled Resource Consumption. EPSS 0.22%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Oct 30, 2026 · GitHub Advisory Database
Detected
### Impact An attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the page tree with many shared resources. ### Patches This has been fixed in [pypdf==6.21.4](https://github.com/py-pdf/pypdf/releases/tag/6.21.4). ### Workarounds If you cannot upgrade yet, consider applying the changes from PR [#4290](https://github.com/py-pdf/pypdf/pull/429
Oct 30, 2026 · GitHub Advisory Database
Fix available
pypdf fixed in 6.21.4
Oct 30, 2026 · GitHub Advisory Database
Fix available
pypdf fixed in 6.21.4
Oct 30, 2026 · GitHub Advisory Database
Updated
### Impact An attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the page tree with many shared resources. ### Patches This has been fixed in [pypdf==6.21.4](https://github.com/py-pdf/pypdf/releases/tag/6.21.4). ### Workarounds If you cannot upgrade yet, consider applying the changes from PR [#4290](https://github.com/py-pdf/pypdf/pull/429
Sources
- CVE.orgVulnerability recordCVE-2026-119204
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2026-119204
30-day exploitation probability 0.22%
first.org - GitHub Advisory DatabasePackage advisoryGHSA-cggf-277g-3q54
pypdf has possible large memory usage when parsing page tree
github.com - GitLab Advisory DatabasePackage advisoryCVE-2026-119204
An attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the page tree with many shared resources.
advisories.gitlab.com - GitLab Advisory DatabasePackage advisorypypi/pypdf/CVE-2026-119204.yml
An attacker who uses this vulnerability can craft a PDF which leads + to large memory usage. This requires parsing the page tree with many shared resources." +date: "2026-10-30" +pubdate: "2026-10-30" +affected_range: "<6.21.4" +fixed_versions: +- "6.21.4" +affected_versions: "All versions before 6.21.4" +not_impacted: "All versions starting from 6.21.4" +solution: "Upgrade to version 6.21.4 or ab
gitlab.com - OpenSSF OSV / OSV ScannerPackage advisoryGHSA-cggf-277g-3q54
pypdf has possible large memory usage when parsing page tree
osv.dev - PyPA Advisory DatabasePackage advisoryGHSA-cggf-277g-3q54
pypdf has possible large memory usage when parsing page tree
osv.dev
References
Freshness
Last verified in this catalog Nov 3, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.
- GitHub Advisory DatabaseNov 4, 2026
- FIRST EPSSNov 3, 2026
- GitLab Advisory DatabaseNov 3, 2026
- PyPA Advisory DatabaseNov 2, 2026
- GitLab Advisory DatabaseNov 1, 2026
- CVE.orgOct 31, 2026
- OpenSSF OSV / OSV ScannerOct 31, 2026