CVE-2026-49461

MEDIUM

pypdf: Possible large memory usage for form XObjects during text extraction

Title source: cna
STIX 2.1

Description

pypdf is a free and open-source pure-python PDF library. Prior to 6.12.2, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires extracting the text of a page which contains a form XObject with self-references. This vulnerability is fixed in 6.12.2.

References (3)

Core 3
Core References
X_Refsource_Misc x_refsource_misc
https://github.com/py-pdf/pypdf/pull/3805
X_Refsource_Misc x_refsource_misc
https://github.com/py-pdf/pypdf/releases/tag/6.12.2

Scores

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

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-400
Status published
Products (2)
py-pdf/pypdf < 6.12.2
pypdf_project/pypdf < 6.12.2
Published Jun 22, 2026
Tracked Since Jun 23, 2026