PatchSiren cyber security CVE debrief
CVE-2026-40260 py-pdf CVE debrief
CVE-2026-40260 is a vulnerability in the pypdf library that can lead to large memory usage when parsing manipulated XMP metadata entity declarations. This issue has been fixed in version 6.10.0. The vulnerability is caused by manipulated XMP metadata entity declarations that can exhaust RAM. An attacker can craft a PDF that leads to large memory usage, requiring parsing of the XMP metadata. Defenders should prioritize updating to version 6.10.0 or later to prevent potential memory exhaustion attacks.
- Vendor
- py-pdf
- Product
- pypdf
- CVSS
- MEDIUM 6.9
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-04-17
- Original CVE updated
- 2026-11-02
- Advisory published
- 2026-04-17
- Advisory updated
- 2026-11-02
Who should care
Defenders responsible for PDF processing and parsing, as well as developers using the pypdf library, should be aware of this vulnerability and take steps to mitigate it. This includes reviewing and monitoring PDF parsing and processing in their environment, considering implementing memory limits and monitoring for PDF processing tasks, and tracking exceptions and retesting remediated assets.
Why it matters
CVE-2026-40260 is a vulnerability in the pypdf library that can lead to large memory usage when parsing manipulated XMP metadata entity declarations. Defenders should prioritize updating to version 6.10.0 or later to prevent potential memory exhaustion attacks. This vulnerability may impact PDF processing and parsing tasks, and defenders responsible for these tasks should be aware of the potential risks.
- Potential memory exhaustion leading to denial-of-service conditions
- Increased risk of memory-related issues in PDF processing tasks
- Need for verification of pypdf version and vulnerability status
Technical summary
The pypdf library is vulnerable to a memory exhaustion attack when parsing manipulated XMP metadata entity declarations. This can lead to large memory usage, potentially causing a denial-of-service condition. The vulnerability is caused by manipulated XMP metadata entity declarations that can exhaust RAM. An attacker can craft a PDF that leads to large memory usage, requiring parsing of the XMP metadata. This issue has been fixed in version 6.10.0. Defenders should prioritize updating to version 6.10.0 or later to prevent potential memory exhaustion attacks.
Defensive priority
Defenders should prioritize updating to version 6.10.0 or later to prevent potential memory exhaustion attacks.
Recommended defensive actions
- Update to pypdf version 6.10.0 or later
- Review and monitor PDF parsing and processing in your environment
- Consider implementing memory limits and monitoring for PDF processing tasks
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The vulnerability is caused by manipulated XMP metadata entity declarations that can exhaust RAM. An attacker can craft a PDF that leads to large memory usage, requiring parsing of the XMP metadata. This requires parsing the XMP metadata. The issue has been fixed in version 6.10.0. Evidence is limited to public statements from the vendor and CVE Program.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-40260 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-40260
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-40260 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-40260
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/py-pdf/pypdf/commit/b15a374e5ca648d4878e57c3b2c0551e7f8cc7f8
[email protected] - Patch
-
Source reference
Unverified legacy reference
URL: https://github.com/py-pdf/pypdf/pull/3724
[email protected] - Issue Tracking, Patch
-
Source reference
Unverified legacy reference
URL: https://github.com/py-pdf/pypdf/releases/tag/6.10.0
[email protected] - Product, Release Notes
-
Source reference
Unverified legacy reference
URL: https://github.com/py-pdf/pypdf/security/advisories/GHSA-3crg-w4f6-42mx
[email protected] - Mitigation, Patch, Vendor Advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.