PyPI (Python)Worst: Moderate4 advisories

pypdf2: known vulnerabilities

pypdf2 has 4 reviewed security advisories in the GitHub Advisory Database — 4 moderate. The most recent was published 2023-06-30. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the pypdf2 versions running across your servers, containers and images, and ranks what to patch first.

How to fix pypdf2

Upgrade pypdf2 to a release at or above the fixed version shown for each advisory below. For PyPI (Python):

pip install --upgrade pypdf2 (pin pypdf2>=2.10.6)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (4)

PyPDF2 vulnerable to possible Infinite Loop when reading malformed objects Moderate 6.2 CWE-835 — Affected: from 2.10.5 up to 2.10.6. Fixed in 2.10.6. Published 2023-06-30. GHSA-hm9v-vj3r-r55m · CVE-2023-36807
PyPDF2 quadratic runtime with malformed PDF missing xref marker Moderate 6.2 CWE-407 — Affected: before 1.27.9. Fixed in 1.27.9. Published 2023-06-30. GHSA-jrm6-h9cq-8gqw · CVE-2023-36810
pypdf and PyPDF2 possible Infinite Loop when a comment isn't followed by a character Moderate 6.2 CWE-835 — Affected: 2.2.0 through 3.0.1. No fixed release is listed. Published 2023-06-27. GHSA-4vvm-4w3v-6mr8 · CVE-2023-36464
Manipulated inline images can cause Infinite Loop in PyPDF2 Moderate 6.2 CWE-835 — Affected: before 1.27.5. Fixed in 1.27.5. Published 2022-04-18. GHSA-xcjx-m2pj-8g79 · CVE-2022-24859

Find pypdf2 across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.