← News

Pypdf: attacker can recover placeholder contents

HighAI-generated2026-11-23

CVE
CVE-2026-134364
Severity
High (CVSS 7.5)
Attack conditions
Remotely, over the network · No account needed · No user action needed
Exploitation probability (EPSS)
0.4% (within 30 days; FIRST EPSS, 27 November 2026)

Summary

The pypdf library versions before 7.0.0 contain an information-disclosure flaw that lets an attacker infer placeholder values in encrypted templated PDFs.

Details

According to the NVD record, pypdf versions prior to 7.0.0 have a vulnerability that leaks information about placeholders used in encrypted template documents. The flaw can be triggered when an attacker obtains a document that shares the same template and can view file identifiers from other documents.

By analyzing these identifiers, the attacker can guess the placeholder contents embedded in the encrypted PDFs. This reveals sensitive data that was intended to remain hidden.

What to do

Upgrade pypdf to version 7.0.0 or later.

Sources

Timeline

  • 21 November 2026 NVD record published
  • 23 November 2026 This article was written