CVE-2026-54651
CVE-2026-54651 is a medium-severity vulnerability in Pypdf Project Pypdf with a CVSS 3.x base score of 5.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-835.
Key facts
- Severity: Medium (CVSS 3.x base score 5.5)
- CVSS v4: 6.9
- EPSS exploit prediction: 0% (1st percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-38358
- Weakness: CWE-835
- Affected product: Pypdf Project Pypdf
- Published:
- Last modified:
Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.13.1, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires merging a file with threads/articles into a writer. This vulnerability is fixed in 6.13.1.
Frequently asked questions
- What is CVE-2026-54651?
- pypdf is a free and open-source pure-python PDF library. Prior to 6.13.1, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires merging a file with threads/articles into a writer. This vulnerability is fixed in 6.13.1.
- How severe is CVE-2026-54651?
- CVE-2026-54651 has a CVSS 3.x base score of 5.5, rated medium severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2026-54651 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (1st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-54651?
- CVE-2026-54651 affects Pypdf Project Pypdf. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-54651?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-54651 have an EU (EUVD) identifier?
- Yes. CVE-2026-54651 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-38358.
- When was CVE-2026-54651 published?
- CVE-2026-54651 was published on 2026-06-22 and last updated on 2026-06-24.
References
- https://github.com/py-pdf/pypdf/pull/3839
- https://github.com/py-pdf/pypdf/releases/tag/6.13.1
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-g9xf-7f8q-9mcj
Affected products (1)
- cpe:2.3:a:pypdf_project:pypdf:*:*:*:*:*:*:*:*
More vulnerabilities in Pypdf Project Pypdf
- CVE-2026-59936 — High (CVSS 7.5): pypdf is a free and open-source pure-python PDF library. Prior to 6.14.1, an attacker can craft a PDF with a page…
- CVE-2026-59935 — High (CVSS 7.5): pypdf is a free and open-source pure-python PDF library. Prior to 6.14.2, an attacker can craft a PDF with a page…
- CVE-2026-59937 — High (CVSS 7.5): pypdf is a free and open-source pure-python PDF library. Prior to 6.14.0, an attacker can craft a PDF with repeated…
- CVE-2026-33699 — High (CVSS 7.5): pypdf is a free and open-source pure-python PDF library. Versions prior to 6.9.2 have a vulnerability in which an…
- CVE-2026-27888 — High (CVSS 7.5): pypdf is a free and open-source pure-python PDF library. Prior to 6.7.3, an attacker who uses this vulnerability can…
- CVE-2026-27628 — High (CVSS 7.5): pypdf is a free and open-source pure-python PDF library. Prior to 6.7.2, an attacker who uses this vulnerability can…
All CVEs affecting Pypdf Project Pypdf →
Other CWE-835 (Loop with Unreachable Exit Condition (Infinite Loop)) vulnerabilities
- CVE-2026-24816 — Critical (CVSS 10.0): Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in datavane tis…
- CVE-2025-21850 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: nvmet: Fix crash when a namespace is disabled The…
- CVE-2024-36288 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: SUNRPC: Fix loop termination condition in…
- CVE-2018-20784 — Critical (CVSS 9.8): In the Linux kernel before 4.20.2, kernel/sched/fair.c mishandles leaf cfs_rq's, which allows attackers to cause a…
- CVE-2017-12997 — Critical (CVSS 9.8): The LLDP parser in tcpdump before 4.9.2 could enter an infinite loop due to a bug in…
- CVE-2017-12995 — Critical (CVSS 9.8): The DNS parser in tcpdump before 4.9.2 could enter an infinite loop due to a bug in print-domain.c:ns_print().
Browse all CWE-835 (Loop with Unreachable Exit Condition (Infinite Loop)) vulnerabilities →