CVE-2026-115572
JSON

7.1high

pypdf: Possible long runtimes for repeated references to the same missing object

Severity
7.1high CVSS:4.0 by GitHub_M
Exploit likelihood
0.41% (higher than 36% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-6c7f-9265-g8fw

Description

pypdf is a free and open-source pure-python PDF library. Prior to 6.21.2, an attacker can craft a PDF that repeatedly references the same nonexistent indirect object, causing relevant file parts such as pages to trigger repeated full-file recovery loads and long runtimes when accessed. This issue is fixed in version 6.21.2.

Affected

Product or packageVersionsReported by
py-pdf pypdf< 6.21.2CVE List
pypdf (PyPI)before 6.21.2GitHub Advisory Database

All scores

GitHub_M7.1high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Classification

CWE-400

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

pypdf is a free and open-source pure-python PDF library. Prior to 6.21.2, an attacker can craft a PDF that repeatedly references the same nonexistent indirect object, causing relevant file parts such as pages to trigger repeated full-file recovery loads and long runtimes when accessed. This issue is fixed in version 6.21.2.

GitHub Advisory Database
Impact

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.

Patches

This has been fixed in pypdf==6.21.2.

Workarounds

If you cannot upgrade yet, consider applying the changes from PR #4240.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-115572 changed 2026-10-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-6c7f-9265-g8fw changed 2026-10-23CC-BY-4.0
NVDCVE-2026-115572 changed 2026-11-02Public domain