CVE-2026-145060

7.5High

Published Dec 4, 2026 · NVD status: Awaiting Analysis · AI triage by gemini-3.1-flash-lite

7.5CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
High impact on availability
Weakness
CWE-770

What an attacker gets

Remote attackers can crash your application by causing an out-of-memory condition. They only need to send a specially crafted PDF file to an endpoint that processes it.

Root cause

The library keeps excessive cross-reference stream data in memory when parsing malformed PDF files.

Affected versions

pypdf before 7.1.1

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Fix & remediation

Upgrade to pypdf version 7.1.1 or later. If you cannot upgrade, implement strict file size limits and memory constraints on any service that processes user-uploaded PDFs.

remediation — bash
$ pip install --upgrade pypdf

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

pypdf before 7.1.1 contains a resource exhaustion vulnerability that allows attackers to cause large memory usage through crafted PDF files. Attackers can supply a PDF with many cross-reference streams whose content is unnecessarily kept in memory, exhausting memory and causing denial of service.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-145060

More fully triaged vulnerabilities you may want to check next.