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.
Published: 2026-10-23
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via Resource Exhaustion
Action: Apply Patch
AI Analysis

Impact

The vulnerability allows an attacker to craft a PDF that repeatedly references a nonexistent indirect object. When processed by pypdf, these repeated references trigger full-file recovery loads for each reference, resulting in extremely long runtimes and high CPU usage. The weakness is a classic uncontrolled resource consumption scenario, classified under CWE-400. The impact is a denial of service, potentially causing application hangs or memory exhaustion for any process that parses the malicious PDF.

Affected Systems

The affected product is the pypdf library provided by py-pdf. Any version prior to 6.21.2 is vulnerable; the fix is delivered in release 6.21.2 and later. All applications that load PDFs using vulnerable pypdf versions are at risk.

Risk and Exploitability

The CVSS score of 7.1 indicates a medium‑high severity. EPSS data is not available, so the exploitation probability is unknown. The vulnerability is not listed in the CISA KEV catalog, but it can be triggered simply by supplying a malicious PDF to any program that uses pypdf. Based on the description, it is inferred that the attack vector is supplying the crafted PDF to an endpoint that processes PDFs, which could be local or remote depending on the software architecture. No privileged escalation is required; the attack exploits only the resource consumption behavior of the library.

Generated by OpenCVE AI on October 24, 2026 at 01:21 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the pypdf library to version 6.21.2 or later, which removes the repeated object reference handling bug.
  • Validate PDF input before parsing to ensure that objects exist, and reject or recover gracefully when references to non‑existent objects are detected.
  • Configure processing software with timeouts and resource limits for PDF parsing to mitigate the impact of any remaining or similar deficiencies.

Generated by OpenCVE AI on October 24, 2026 at 01:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-6c7f-9265-g8fw pypdf: Possible long runtimes for repeated references to the same missing object
History

Thu, 29 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 24 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-770
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sat, 24 Oct 2026 00:00:00 +0000

Type Values Removed Values Added
First Time appeared Py-pdf
Py-pdf pypdf
Vendors & Products Py-pdf
Py-pdf pypdf

Fri, 23 Oct 2026 19:45:00 +0000

Type Values Removed Values Added
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.
Title pypdf: Possible long runtimes for repeated references to the same missing object
Weaknesses CWE-400
References
Metrics cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-29T14:18:40.569Z

Reserved: 2026-10-22T22:53:15.238Z

Link: CVE-2026-115572

cve-icon Vulnrichment

Updated: 2026-10-29T14:18:27.534Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-23T20:17:20.940

Modified: 2026-11-02T16:06:04.477

Link: CVE-2026-115572

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-23T19:24:51Z

Links: CVE-2026-115572 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-24T01:30:18Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-770

    Allocation of Resources Without Limits or Throttling