Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain a document from the same template
-
ExploitCollect file identifiers of other derived documents
-
ExecutionAnalyze identifiers to guess placeholders
-
ImpactRecover 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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)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
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.
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
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Memory exhaustion while parsing crafted PDFs in pypdf versions prior to 6.21.3 allows an attacker to drive a consuming p
Denial of service in pypdf before 6.21.3: retrieving the page count (for example via len(reader.pages) or get_num_pages(
Memory exhaustion in the pypdf PDF library before 6.21.3 allows a small, deliberately malformed PDF dictionary to blow u
pypdf before 6.21.3 can be driven into excessive CPU consumption when an application retrieves page labels from a specia
Cloning or duplicating a crafted cyclic DictionaryObject with pypdf before 6.21.4 can hang the calling process in an inf
Parsing a crafted PDF with pypdf before 6.21.4 can drive disproportionate memory consumption when the library enumerates
Denial of service in pypdf prior to 6.21.4 lets remote attackers hang a PDF-processing thread by supplying an incomplete
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
Infinite loop denial-of-service in pypdf prior to 6.13.1 allows an attacker to hang any process that merges a crafted PD
pypdf is a pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. Rat
pypdf is a pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. Rat
pypdf is an open source, pure-python PDF library. Rated medium severity (CVSS 5.5), this vulnerability is no authenticat
EUVD-2026-132547
GHSA-pc6p-8f3q-5pqm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB