> CVE-2026-40260 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-04-17 01:17
MODIFIED
2026-04-17 01:17
CVSS_SCORE V3
6.9
EPSS (Prob. Exploit)
0.52%
Top 56.9%
DATA SOURCES:
NVD 🔗 2026-04-17 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-11-05 OSV 🔗 2026-09-20

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
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

> MÉTRIQUES CVSS DÉTAILLÉES

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
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
Low (L)
Interruption partielle du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
Low
Interruption partielle du service possible

> WEAKNESSES

CWE-776

> CWE DETAILED DESCRIPTIONS

CWE-776: Improper Restriction of Recursive Entity References in DTDs - The product uses XML documents and allows their structure to be defined with a Document Type Definition (DTD), but it does not properly control the number of recursive definitions of entities.

> GITHUB SECURITY ADVISORY

GHSA-3crg-w4f6-42mx MODERATE

pypdf: Manipulated XMP metadata entity declarations can exhaust RAM

AFFECTED PACKAGES:
PIP / pypdf
< 6.10.0
Fixed in: 6.10.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

pypdf: Manipulated XMP metadata entity declarations can exhaust RAM

AFFECTED PACKAGES:
Unknown / Unknown
143 versions affected
ALIASES:
GHSA-3crg-w4f6-42mx, PYSEC-2026-3006

> HISTORIQUE DES MODIFICATIONS

Première apparition
17/04/2026 01:17
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-776: Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') - The product uses XML documents and allows their structure to be defined with a Document Type Definition ...
Nouvelle valeur:
CWE-776: Improper Restriction of Recursive Entity References in DTDs - The product uses XML documents and allows their structure to be defined with a Document Type Definition (DTD), but it does not pr...
📊 ENRICHISSEMENT 01/05/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-776: Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') - The product uses XML documents and allows their structure to be defined with a Document Type Definition ...
Total des modifications: 2 Dernière mise à jour: 1 week ago

> REFERENCES

https://github.com/py-pdf/pypdf/commit/b15a374e5ca648d4878e57c3b2c0551e7f8cc7f8
https://github.com/py-pdf/pypdf/pull/3724
https://github.com/py-pdf/pypdf/releases/tag/6.10.0
https://github.com/py-pdf/pypdf/security/advisories/GHSA-3crg-w4f6-42mx
« BACK_TO_HOME