pypdf is a free and open-source pure-python PDF library. Prior to 6.21.0, an attacker can craft a PDF containing a content stream with many small operations, causing parsing to consume large amounts of memory. This issue is fixed in version 6.21.0.
References
| Link | Resource |
|---|---|
| https://github.com/py-pdf/pypdf/commit/18bd2981a74479483a0b9507602c58a63d6c9b12 | Patch |
| https://github.com/py-pdf/pypdf/pull/4218 | Issue Tracking Patch |
| https://github.com/py-pdf/pypdf/releases/tag/6.21.0 | Release Notes |
| https://github.com/py-pdf/pypdf/security/advisories/GHSA-cgf9-327m-v77c | Vendor Advisory Patch |
Configurations
History
05 Nov 2026, 21:33
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:py-pdf:pypdf:*:*:*:*:*:python:*:* | |
| References | () https://github.com/py-pdf/pypdf/commit/18bd2981a74479483a0b9507602c58a63d6c9b12 - Patch | |
| References | () https://github.com/py-pdf/pypdf/pull/4218 - Issue Tracking, Patch | |
| References | () https://github.com/py-pdf/pypdf/releases/tag/6.21.0 - Release Notes | |
| References | () https://github.com/py-pdf/pypdf/security/advisories/GHSA-cgf9-327m-v77c - Vendor Advisory, Patch | |
| First Time |
Py-pdf
Py-pdf pypdf |
|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 3.3 |
21 Oct 2026, 16:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-21 16:17
Updated : 2026-11-05 21:33
NVD link : CVE-2026-113791
Mitre link : CVE-2026-113791
CVE.ORG link : CVE-2026-113791
JSON object : View
Products Affected
py-pdf
- pypdf
