CVE-2026-31826

MEDIUM

pypdf <6.8.0 - DoS

Title source: llm
STIX 2.1

Description

pypdf is a free and open-source pure-python PDF library. Prior to 6.8.0, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing a content stream with a rather large /Length value, regardless of the actual data length inside the stream. This vulnerability is fixed in 6.8.0.

Scores

CVSS v3 5.5
EPSS 0.0000
EPSS Percentile 0.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-770
Status published
Products (3)
py-pdf/pypdf < 6.8.0
pypdf_project/pypdf < 6.8.0
pypi/pypdf 0 - 6.8.0PyPI
Published Mar 10, 2026
Tracked Since Mar 11, 2026