6.9

CVE-2026-54651: pypdf: Possible infinite loop when processing threads/articles in writer

Analyzed
AliasesGHSA-g9xf-7f8q-9mcjPYSEC-2026-3018UBUNTU-CVE-2026-54651
Published 22-06-2026Last modified 23-06-2026

Vulnerability summary

CVE-2026-54651 is a medium (CVSS 6.9) Loop with Unreachable Exit Condition vulnerability in py-pdf pypdf. EPSS estimates a 0.11% chance of exploitation in the next 30 days, higher than 1.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.9, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.9/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.11%
0%100%
Low · -0.05 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1

Timeline

  1. 22-06-2026
    PublishedVulnerability first disclosed.
  2. 23-06-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 5 sources · 2 versions

EPSS trend

Probability

0.11%

Chance of exploitation in the next 30 days

Percentile

1%

Versus all other CVEs

30-day change

Decrease -0.05 pp

From 0.16% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu3 products
  • pypdfAll versions (No fix recorded)
  • pypdf2All versions (No fix recorded)
  • python-pypdfAll versions (No fix recorded)
Debian2 products
  • pypdfAll versions (No fix recorded) | < 6.19.0-1
  • pypdf2All versions (No fix recorded)
Opensuse1 product
  • python-pypdf&distro=openSUSE Tumbleweed< 6.14.0-1.1
Py-pdf1 product
Pypdf_project1 product
PyPI1 product
  • pypdf< 6.13.1

6 vendors · 9 products

References

11 links
Show all 11 references