pypdf is a free and open-source pure-python PDF library. In versions prior to 6.10.0, manipulated XMP metadata entity declarations can exhaust RAM. An attacker who exploits this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the XMP metadata. This issue has been fixed in version 6.10.0.
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-3crg-w4f6-42mx | pypdf: Manipulated XMP metadata entity declarations can exhaust RAM |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Fri, 17 Apr 2026 01:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Py-pdf
Py-pdf pypdf |
|
| Vendors & Products |
Py-pdf
Py-pdf pypdf |
Thu, 16 Apr 2026 23:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | pypdf is a free and open-source pure-python PDF library. In versions prior to 6.10.0, manipulated XMP metadata entity declarations can exhaust RAM. An attacker who exploits this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the XMP metadata. This issue has been fixed in version 6.10.0. | |
| Title | pypdf: Manipulated XMP metadata entity declarations can exhaust RAM | |
| Weaknesses | CWE-776 | |
| References |
| |
| Metrics |
cvssV4_0
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-04-16T23:18:26.687Z
Reserved: 2026-04-10T17:31:45.787Z
Link: CVE-2026-40260
No data.
Status : Received
Published: 2026-04-17T01:17:39.733
Modified: 2026-04-17T01:17:39.733
Link: CVE-2026-40260
No data.
OpenCVE Enrichment
Updated: 2026-04-17T02:30:07Z
Weaknesses
Github GHSA