Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.20.0, accessing a crafted PDF stream with a large number of filters or multiple filters that pass around large amounts of data can cause large memory consumption. This issue is fixed in version 6.20.0.
Published: 2026-10-21
Score: 6 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via memory exhaustion
Action: Patch
AI Analysis

Impact

The vulnerability allows an attacker to craft a PDF stream with a large number of filters or filters that process large amounts of data, causing the pypdf library to consume excessive memory. This uncontrolled resource consumption can bring the consuming process to an out‑of‑memory state, result in crashes, and deny service to legitimate users. The flaw does not provide a direct path to code execution or data disclosure, but it impacts availability.

Affected Systems

Vendor py-pdf offers the pypdf Python library. Versions prior to 6.20.0 are affected. The library is used in Python applications that read or manipulate PDF files, so any system that imports pypdf < 6.20.0 is at risk.

Risk and Exploitability

The CVSS score of 6.0 indicates a medium severity. EPSS is not available and the vulnerability is not catalogued in CISA KEV. The attack vector is inferred to be user‑controlled input: an application that loads a crafted PDF can trigger the memory spike; if the PDF originates over a network, failure to validate input opens remote DoS opportunities. No known exploitation data is available, but the impact can be significant if the library runs with high privileges or in a critical service.

Generated by OpenCVE AI on October 22, 2026 at 03:12 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to pypdf version 6.20.0 or later to eliminate the memory‑exhaustion condition.
  • If an upgrade is not immediately possible, enforce size limits on PDF streams or reject PDFs with an excessive number of filters before parsing.
  • Run PDF handling in a restricted environment or with lower privileges to minimize impact if an attacker manages to trigger memory exhaustion.

Generated by OpenCVE AI on October 22, 2026 at 03:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-7mh2-4gg2-979f pypdf: Possible large memory usage for streams with multiple filters
History

Mon, 02 Nov 2026 16:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:py-pdf:pypdf:*:*:*:*:*:python:*:*

Fri, 30 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 22 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
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


Thu, 22 Oct 2026 00:15:00 +0000

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

Wed, 21 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
Description pypdf is a free and open-source pure-python PDF library. Prior to 6.20.0, accessing a crafted PDF stream with a large number of filters or multiple filters that pass around large amounts of data can cause large memory consumption. This issue is fixed in version 6.20.0.
Title pypdf: Possible large memory usage for streams with multiple filters
Weaknesses CWE-400
CWE-770
References
Metrics cvssV4_0

{'score': 6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/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-30T15:58:32.072Z

Reserved: 2026-10-20T17:39:41.373Z

Link: CVE-2026-113795

cve-icon Vulnrichment

Updated: 2026-10-30T15:58:28.463Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-21T16:17:28.850

Modified: 2026-11-02T16:13:25.763

Link: CVE-2026-113795

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-21T16:01:22Z

Links: CVE-2026-113795 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T03:15:14Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-770

    Allocation of Resources Without Limits or Throttling