Vulnerability DatabaseCVE-2026-134367

CVE-2026-134367: 
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2026-134367 is a resource exhaustion vulnerability in the pypdf Python library affecting versions 2.4.2 through 6.x (before 7.0.0). The flaw exists in pypdf's handling of XFA (XML Forms Architecture) forms embedded in PDF files, allowing unauthenticated attackers to cause excessive memory consumption and denial of service by supplying a crafted PDF with many small XFA fields. It was published on November 21, 2026, with a patch released in pypdf 7.0.0. The vulnerability carries a CVSS v3.1 score of 7.5 (High) and a CVSS v4.0 score of 8.7 (High) (GitHub Advisory, py-pdf Advisory).

Technical details

The root cause is classified as CWE-770 (Allocation of Resources Without Limits or Throttling) — pypdf does not impose restrictions on the number or size of XFA form fields it processes when loading a PDF (py-pdf Advisory, GitHub Advisory). An attacker crafts a PDF containing XFA forms with a large number of small fields; when pypdf parses this document, it allocates memory for each field without any upper bound, leading to unbounded memory growth. Exploitation requires no authentication, no special privileges, and no user interaction beyond the application processing the malicious PDF. The fix was introduced in pypdf 7.0.0, with the relevant changes available in PR #4363 for those unable to upgrade immediately (py-pdf Advisory).

Impact

Successful exploitation results in a denial-of-service condition on any system or service that uses pypdf to process untrusted PDF files. The impact is limited to availability — there is no confidentiality or integrity impact, and no lateral movement or data exfiltration risk is associated with this vulnerability. Applications such as document processing pipelines, web services accepting PDF uploads, or automated PDF analysis tools are at risk of crashing or becoming unresponsive when processing a malicious PDF (GitHub Advisory, Red Hat Bugzilla).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at the time of disclosure (GitHub Advisory). The EPSS score is approximately 0.00278 (~0.28%), indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported. The attack is network-accessible, requires no authentication, and is low complexity, making it straightforward to exploit if a target application processes attacker-supplied PDFs.

Exploitation steps

  1. Identify a target: Locate an application or service that uses pypdf (versions 2.4.2–6.x) to process PDF files submitted by users or received from external sources (e.g., a web upload endpoint, email attachment processor, or document conversion service).
  2. Craft a malicious PDF: Create a PDF file containing XFA forms with a very large number of small fields. XFA forms are XML-based and can be embedded in a PDF's AcroForm structure; tools such as Python's reportlab or direct PDF/XML manipulation can be used to generate such a document.
  3. Submit the malicious PDF: Upload or send the crafted PDF to the target application through any available input channel (e.g., HTTP file upload, email, API endpoint).
  4. Trigger pypdf parsing: The application invokes pypdf to read or process the PDF, causing pypdf to iterate over and allocate memory for each XFA field without any limit.
  5. Achieve denial of service: Memory consumption grows until the process exhausts available RAM, triggering an out-of-memory condition, crash, or severe performance degradation that renders the service unavailable (py-pdf Advisory, GitHub Advisory).

Indicators of compromise

  • Network: Repeated uploads of unusually large or structurally anomalous PDF files to document processing endpoints; high-frequency PDF submission from a single source IP.
  • File System: Presence of PDF files with embedded XFA forms containing an abnormally high number of fields in upload directories or temporary processing folders.
  • Logs: Application or web server logs showing PDF processing requests followed by service crashes, OOM (out-of-memory) errors, or process restarts; Python tracebacks referencing pypdf XFA form parsing.
  • Process/System: Sudden spikes in memory consumption by the Python process running pypdf; OOM killer events in system logs (/var/log/syslog or dmesg) attributing kills to the PDF-processing service.

Mitigation and workarounds

The primary remediation is to upgrade pypdf to version 7.0.0 or later, which resolves the unbounded memory allocation during XFA form parsing (py-pdf Advisory). For environments that cannot upgrade immediately, the pypdf maintainers recommend manually applying the changes from PR #4363. Additional defensive measures include restricting PDF processing to trusted sources, enforcing memory quotas and timeouts on PDF processing operations, and monitoring memory usage during file handling to alert on anomalies (GitHub Advisory).

Community reactions

The vulnerability was reported by researcher AnkitSingh411 and published by maintainer stefan6419846 via the py-pdf GitHub security advisory (py-pdf Advisory). Red Hat tracked the issue via Bugzilla (Bug 2580707) with medium priority and severity, indicating awareness among enterprise Linux distributors (Red Hat Bugzilla). A brief mention appeared on Mastodon via @thehackerwire, but broader community or media reaction has been limited given the moderate severity and lack of active exploitation.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

pypdf2

Affected

sid

pypdf: 7.0.1-1

Fixed

trixie

pypdf

Affected

RHEL / CentOS

Unknown

Source: This report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-134367HIGH8.7
  • Linux Debian logoLinux Debian
  • pypdf
NoNoNov 21, 2026
CVE-2026-134704HIGH8.5
  • Linux Debian logoLinux Debian
  • openshot-qt
NoNoNov 22, 2026
CVE-2026-134753HIGH8.3
  • Linux Debian logoLinux Debian
  • dsniff
NoNoNov 22, 2026
CVE-2026-134703MEDIUM6.3
  • Linux Debian logoLinux Debian
  • xmlrpc-c
NoYesNov 22, 2026
CVE-2026-132147NONEN/A
  • Linux Debian logoLinux Debian
  • debbugs
NoNoNov 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management