CVE-2026-40260

MEDIUM EPSS 33.9%
Published Apr 17, 20262mo ago · Modified Jun 17, 20262w ago
6.9 CVSS 4.0
Medium
Find Similar
Published Apr 17, 2026 2mo ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
6.9
Exploitability
Impact
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope X

Threat Intelligence

EPSS Exploit Probability
33.9% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-776

Affected Products 1

VendorProductVersionRange
pypdf_projectpypdf* <6.10.0

References 4

  • github.com https://github.com/py-pdf/pypdf/commit/b15a374e5ca648d4878e57c3b2c0551e7f8cc7f8
    Patch
  • github.com https://github.com/py-pdf/pypdf/pull/3724
    Issue TrackingPatch
  • github.com https://github.com/py-pdf/pypdf/releases/tag/6.10.0
    ProductRelease Notes
  • github.com https://github.com/py-pdf/pypdf/security/advisories/GHSA-3crg-w4f6-42mx
    MitigationPatchVendor Advisory

Remediation

  • github.com https://github.com/py-pdf/pypdf/commit/b15a374e5ca648d4878e57c3b2c0551e7f8cc7f8
    Patch
  • github.com https://github.com/py-pdf/pypdf/pull/3724
    Issue TrackingPatch
  • github.com https://github.com/py-pdf/pypdf/security/advisories/GHSA-3crg-w4f6-42mx
    MitigationPatchVendor Advisory