pypi package reportIs pypdf safe ? 69 known vulnerabilities, worst severity HIGH.
// reach 19 direct dependencies
6 carry known advisories, worst CRITICAL
95 packages depend on it
an advisory here reaches each of them
// ai model usage No published models are known to use this package.
cvss CVSS v4.0 base score out of 10
epss chance of exploitation in 30 days, 13th percentile of all CVEs
xyz score CyberXYZ composite out of 10
fig. 01 — GHSA-cggf-277g-3q54, the advisory selected below
// 69 advisories GHSA-cggf-277g-3q54 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. HIGH GHSA-42gh-23hr-vphw An attacker who uses this vulnerability can craft a PDF which leads to large runtimes. This requires retrieving the page labels of a file. HIGH GHSA-x3rh-gjgm-fmqc An attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires opening a file with cross-reference streams. HIGH GHSA-5849-834g-hvw5 An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires opening an incomplete file without a trailer. HIGH GHSA-mfr5-77xh-9j7h An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires cloning/duplicating a DictionaryObject. HIGH GHSA-4vqv-7265-gm2w An attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires loading an invalid dictionary. HIGH GHSA-62m5-6wh8-28x7 An attacker who uses this vulnerability can craft a PDF which leads to large runtimes/memory usage. This requires accessing the page count of an encrypted PDF file, which itself declares a wrong /Count value. HIGH GHSA-jr96-gvgh-j3r4 An attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires cross-reference streams with repeated malformed cross-reference streams. HIGH GHSA-gmh7-3g9r-mjh5 An attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires opening a file with large/wrong upper limits in the xref table. HIGH GHSA-6c7f-9265-g8fw An attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires loading relevant parts of a file (like their pages) where the same, but non-existent indirect object is referenced multiple times. HIGH Show all 69 advisories // 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 .
// workarounds If you cannot upgrade yet, consider applying the changes from PR #4290 .
// cvss v4.0 vector 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
Attack vector Network
Attack complexity Low
Attack requirements None
Privileges required None
User interaction Passive
Confidentiality (vulnerable system) None
Integrity (vulnerable system) None
Availability (vulnerable system) High
Confidentiality (subsequent systems) None
Integrity (subsequent systems) None
Availability (subsequent systems) None Checked 2026-11-08 at 00:16 UTC. The most recent advisory here was published 2026-10-30. Updated continuously from NVD, GHSA, OSV and CNA feeds.
Think a verdict here is wrong? Tell us — we respond within 2 business days. Report an issue with this page