Skip to main content

pypdf CVE-2026-134364

| EUVDEUVD-2026-132547 HIGH
Information Exposure (CWE-200)
2026-11-21 VulnCheck GHSA-pc6p-8f3q-5pqm
High
Disputed · 8.7 Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain a document from the same template
  2. Exploit
    Collect file identifiers of other derived documents
  3. Execution
    Analyze identifiers to guess placeholders
  4. Impact
    Recover placeholder contents from encrypted PDFs

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK

2 techniques across 2 tactics: Collection, Discovery

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires two concrete prerequisites stated in the advisory: (1) the attacker must possess a document generated from the SAME template as the target encrypted PDFs, and (2) the attacker must have access to the file identifiers of other documents derived from that template. The flaw is limited to encrypted templated-document workflows produced with pypdf < 7.0.0 where placeholder fields are filled from a common template and file identifiers are observable; it only discloses placeholder contents (confidentiality), with no integrity or availability impact. These conditions meaningfully limit real-world exploitation: it is not usable against a single ad-hoc encrypted PDF, only against collections of same-template documents whose file identifiers leak.

Impact

This is a confidentiality-only information disclosure flaw (CWE-200) in the pypdf Python library, scored CVSS 4.0 8.7 (High) with vector AV:N/AC:L/AT:N/PR:N/UI:N/VC:H. The network vector and PR:N nominally suggest easy remote unauthenticated exploitation, but the description and GHSA advisory impose a substantial precondition that the raw CVSS vector understates: the attacker must already possess a document built from the SAME template AND have access to the file identifiers of other documents derived from that template. This is a cryptographic/analytic weakness (placeholder guessing by analyzing file identifiers in encrypted templated PDFs), not a trivial remote request, so the AC:L rating arguably overstates ease - I independently assess AC:H. No CISA KEV listing and no public exploit code or PoC is present in the input (only a fix-oriented workaround PR and a vendor advisory), so exploitation status is: no public exploit identified at time of analysis. No EPSS score was provided, so probabilistic exploitation likelihood cannot be compared against KEV/PoC signals. The vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a real-but-not-urgent priority: a genuine confidentiality risk for specific workflows that generate many encrypted documents from shared templates, rather than a broadly weaponizable mass-exploitation bug. Treat as a patch-this-week item, elevated for anyone using pypdf to produce encrypted templated PDFs where file identifiers are exposed.

Exploit ScenarioDerived

An organization generates many encrypted PDFs from one shared template (each filling in placeholder fields with sensitive values) and inadvertently exposes the documents' file identifiers. An attacker who holds one document from that same template, plus the file identifiers of other documents, analyzes those identifiers to guess and recover the placeholder contents of the encrypted PDFs without decrypting them directly. No public exploit code is identified; this requires analytic access to the identifiers rather than a single crafted network request, so low-complexity remote exploitation against arbitrary targets is not realistic.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 21, 2026

Placeholder recovery in pypdf 3.7.1 through versions before 7.0.0 allows an attacker who holds a document generated from the same template, and who has access to the file identifiers of other documents built from that template, to reconstruct confidential placeholder values inside encrypted PDFs. Only confidentiality is affected (C:H/I:N/A:N); the CVSS 4.0 base score is 8.7, while the assessed CVSS 3.1 vector is AV:N/AC:H/PR:N/UI:N, with the AC:H rating reflecting the two concrete prerequisites that materially limit real-world exploitation. No public exploit code or active exploitation is identified at time of analysis.

RemediationAI

Upgrade to pypdf 7.0.0 or later, the vendor-released fix (https://github.com/py-pdf/pypdf/releases/tag/7.0.0); this is the only complete remediation stated in the advisory. If upgrading immediately is not possible, the advisory suggests applying the changes from pull request #4366 (https://github.com/py-pdf/pypdf/pull/4366) as an interim workaround - note this is an upstream PR/commit rather than a tagged release on the older branches, so a patched older version is not independently confirmed and the backport must be carried and maintained locally. Additional compensating controls, each with trade-offs: stop distributing multiple encrypted PDFs derived from the same template together with their file identifiers, since the /ID values are part of the PDF structure and are normally exposed with the file, so this is only feasible where document distribution can be re-architected; and regenerate or re-encrypt previously issued templated documents with randomized identifiers, which changes document identity and may break stored references, cross-document links or signature validations. VulnCheck is the reporting source and the vuln.today decision label is this_week, so the upgrade can be scheduled within the current patch cycle; there is no KEV listing or confirmed exploitation driving emergency action.

Affected VersionsENISA

pypdf 3.7.1 <7.0.0

Affected Packages

euvd pypdf fix: 7.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

pypdf is a pure-Python library for reading, writing, merging and encrypting PDF files, distributed as the pip package py-pdf/pypdf and tracked by CPE cpe:2.3:a:py-pdf:pypdf. The flaw is an instance of CWE-200 (Exposure of Sensitive Information), specifically information leakage through the PDF file identifier - the /ID entries in the document trailer that are written into encrypted files and are often shared or observable alongside the document. The advisory (GHSA-mwj3-fpmc-hjcv) states that analyzing these file identifiers lets an attacker guess placeholders in encrypted templated documents, i.e., PDFs produced by filling fields of a common template and then encrypting them. The precise derivation that makes placeholder guessing feasible is described only at this high level in the supplied sources; the advisory does not detail the internal algorithm or the exact conditions under which identifier values correlate with placeholder contents. Exploitation is confined to same-template document collections produced with affected pypdf versions where file identifiers of sibling documents are accessible; a single ad-hoc encrypted PDF with no sibling documents does not satisfy the stated prerequisites, and there is no integrity or availability impact. Note the scoring divergence between the supplied CVSS 4.0 vector (AC:L, 8.7) and the independently assessed CVSS 3.1 vector (AC:H), the latter accounting for the template-match and identifier-access requirements.

Know when Pypdf gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Sources disagree (Low–High)
Vendor (VulnCheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

Requires a same-template document and access to other documents' file identifiers, a non-trivial attacker-uncontrolled precondition, so AC:H; information disclosure only, hence C:H with I:N/A:N.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 3.7 LOW

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 21, 2026 - 18:02 EUVD
CVE Published
Nov 21, 2026 - 16:34 cve.org
HIGH 8.7

DescriptionCVE.org

pypdf 3.7.1 before 7.0.0 contains an information disclosure vulnerability that allows attackers to guess placeholders in encrypted templated documents by analyzing file identifiers. Attackers with a document sharing the same template and access to other documents' file identifiers can recover placeholder contents from encrypted PDFs.

Technical POC Analysis

CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) in the pypdf package itself (pip: pypdf), not in a downstream wrapper.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A confidentiality weakness in pypdf versions 3.7.1 through 6.x allows an attacker holding template-derived documents to reconstruct confidential placeholder values embedded in encrypted PDFs. Any business relying on pypdf to protect sensitive fields (contract terms, customer data, credentials in templates) should treat this as a potential disclosure risk. Impact is confined to confidentiality and requires specific preconditions, but affected PDF generation pipelines should be prioritized given the widespread use of pypdf for document automation.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict distribution of and access to file identifiers and template-derived PDFs, apply least-privilege file permissions, avoid embedding high-value secrets as placeholders in encrypted template-based PDFs, and add application-layer encryption or access controls for sensitive fields.

Threat Intelligence Overview

EPSS Score
0.6%
Top 52% exploitable
Prevalence
High
pypdf is a very widely used Python PDF library, but exposure is feature-specific
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Medium
Technical Impact
Partial

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Pypdf

View all
CVE-2026-119209 HIGH POC
7.1 Oct 29

Memory exhaustion while parsing crafted PDFs in pypdf versions prior to 6.21.3 allows an attacker to drive a consuming p

CVE-2026-119208 HIGH POC
7.1 Oct 29

Denial of service in pypdf before 6.21.3: retrieving the page count (for example via len(reader.pages) or get_num_pages(

CVE-2026-119207 HIGH POC
7.1 Oct 29

Memory exhaustion in the pypdf PDF library before 6.21.3 allows a small, deliberately malformed PDF dictionary to blow u

CVE-2026-119206 HIGH POC
7.1 Oct 29

pypdf before 6.21.3 can be driven into excessive CPU consumption when an application retrieves page labels from a specia

CVE-2026-119205 HIGH POC
7.1 Oct 29

Cloning or duplicating a crafted cyclic DictionaryObject with pypdf before 6.21.4 can hang the calling process in an inf

CVE-2026-119204 HIGH POC
7.1 Oct 29

Parsing a crafted PDF with pypdf before 6.21.4 can drive disproportionate memory consumption when the library enumerates

CVE-2026-119203 HIGH POC
7.1 Oct 29

Denial of service in pypdf prior to 6.21.4 lets remote attackers hang a PDF-processing thread by supplying an incomplete

CVE-2026-84309 MEDIUM POC
6.9 Sep 01

Infinite loop denial of service in pypdf prior to 6.16.0 allows any attacker who can supply a crafted PDF to a pypdf-bas

CVE-2026-54651 MEDIUM POC
6.9 Jun 22

Infinite loop denial-of-service in pypdf prior to 6.13.1 allows an attacker to hang any process that merges a crafted PD

CVE-2023-36810 MEDIUM POC
6.5 Jun 30

pypdf is a pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. Rat

CVE-2023-36807 MEDIUM POC
6.5 Jun 30

pypdf is a pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. Rat

CVE-2023-36464 MEDIUM POC
5.5 Jun 27

pypdf is an open source, pure-python PDF library. Rated medium severity (CVSS 5.5), this vulnerability is no authenticat

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy