CISA list

● PyPI package

pypdf2

Pypdf2 has four security advisories. The newest release any of them names as the fix is 3.9.0.

As of , pypdf2 has four security advisories. The newest release any of them names as the fix is 3.9.0.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
From 2.2.0 before 3.9.03.9.02 advisories
Before 1.27.91.27.92 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2023-36807GHSA-hm9v-vj3r-r55m, PYSEC-2026-1836PyPDF2 vulnerable to possible Infinite Loop when reading malformed objectsModerate severityFrom 2.10.5 before 2.10.62.10.6
CVE-2023-36810GHSA-jrm6-h9cq-8gqw, PYSEC-2026-1837PyPDF2 quadratic runtime with malformed PDF missing xref markerModerate severityBefore 1.27.91.27.9
CVE-2023-36464GHSA-4vvm-4w3v-6mr8, PYSEC-2026-1835, PYSEC-2026-3008pypdf and PyPDF2 possible Infinite Loop when a comment isn't followed by a characterModerate severityFrom 2.2.0 before 3.9.03.9.0
CVE-2022-24859GHSA-xcjx-m2pj-8g79, PYSEC-2022-194Manipulated inline images can cause Infinite Loop in PyPDF2Moderate severityBefore 1.27.51.27.5

Other PyPI packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0
  • Package advisories from the PyPA advisory database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0