CVE-2026-134367: pypdf Unbounded Resource Allocation
Published 2026-11-21 · Updated 2026-11-25 · Source disclosure@vulncheck.com
Not known to be exploited · high severity — update pypdf to 7.0.0 or later in your next patch cycle.
What to do
- Update pypdf to version 7.0.0 or later. Versions from 2.4.2 up to, but not including, 7.0.0 are affected.
- Until it is patched, do not leave pypdf reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Apply rate limits and request-size limits in front of the affected service.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| pypdf | ≥ 2.4.2, < 7.0.0 | 7.0.0 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact on availability is rated high.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | None | No effect on confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | High | Total loss of availability. |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: Unbounded Resource Allocation
The software allocates resources without limit, so an attacker can exhaust them and cause denial of service.
Classified as CWE-770.
Description
pypdf 2.4.2 before 7.0.0 contains a resource exhaustion vulnerability in its handling of XFA forms that allows attackers to cause excessive memory consumption. Attackers can supply a crafted PDF containing XFA forms with many small fields so that loading the forms consumes large amounts of memory, causing a denial of service.
Advisory text as published in the NVD record.