1. Archivio CVE
  2. 2026
  3. CVE-2026-40260

CVE-2026-40260

5.3 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L 5.3 – Media

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
py-pdf pypdf < 6.10.0 –
Tutte le 75 vulnerabilità di Py-pdf Pypdf

Tipo di vulnerabilità

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.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: esaurimento di risorse

Come si previene

Esercizio If possible, prohibit the use of DTDs or use an XML parser that limits the expansion of recursive DTD entities.
Sviluppo Before parsing XML files with associated DTDs, scan for recursive entity declarations and do not continue parsing potentially explosive content.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 89 CVE di tipo CWE-776, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org