Bug 2459094 (CVE-2026-40260)

Summary: CVE-2026-40260 pypdf: pypdf: Denial of Service due to memory exhaustion via manipulated XMP metadata
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: anpicker, bbrownin, bdettelb, bparees, doconnor, dschmidt, ebourniv, erezende, hasun, jfula, jkoehler, jlanda, jowilson, jwong, kshier, lgallett, lphiri, nyancey, omaciel, ometelka, ptisnovs, sbunciak, simaishi, smcdonal, stcannon, syedriko, teagle, ttakamiy, xdharmai, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in pypdf, a pure-python PDF library. A remote attacker can exploit this vulnerability by crafting a malicious PDF file containing manipulated XMP metadata entity declarations, which are data embedded within a PDF file. When the affected system parses this metadata, it can lead to excessive memory consumption. This memory exhaustion can result in a Denial of Service (DoS) condition, making the application or system unresponsive.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-04-17 00:01:35 UTC
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.