CVE-2026-145082

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 provide a malicious PDF file to a service that processes it with pypdf.

Root cause

The library fails to limit the size of page label prefixes, leading to excessive memory allocation when processing crafted 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 7.1.1 or later. If you cannot upgrade immediately, implement a file size limit or a timeout on the PDF processing service to mitigate resource exhaustion.

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 an uncontrolled resource consumption vulnerability that allows attackers to cause large memory usage by supplying crafted page label prefixes. Attackers can craft a PDF with a very large page label prefix value that, when page labels are accessed, exhausts memory and causes denial of service.

References

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

More fully triaged vulnerabilities you may want to check next.