CVE-2025-62708
pypdf manipulated LZWDecode streams can exhaust RAM
MEDIUM 6.6
En bref
- Source
- NVD
- EPSS
- EPSS 0.44 % · centile 39 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Statut NVD
- Analyzed
Description
pypdf is a free and open-source pure-python PDF library. Prior to version 6.1.3, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the content stream of a page using the LZWDecode filter. This has been fixed in pypdf version 6.1.3.
Faiblesses (CWE)
- CWE-409 — Gestion incorrecte de données fortement compressées (bombe zip)
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 4.0 | MEDIUM 6.6 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U | GitHub_M |
| CVSS 4.0 | MEDIUM 6.6 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/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 | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
Avis
- GHSA-jfx9-29x2-rv3j — pypdf can exhaust RAM via manipulated LZWDecode streams
- PYSEC-2026-1831 — pypdf can exhaust RAM via manipulated LZWDecode streams
Références européennes
- ENISA EUVD · EUVD-2025-35624
- GCVE · GCVE-0-2025-62708
Configurations affectées (CPE NVD)
cpe:2.3:a:pypdf_project:pypdf:*:*:*:*:*:*:*:*< 6.1.3
Produits affectés
| Produit | Versions |
|---|---|
| py-pdf · pypdf | affected < 6.1.3 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |