adm-zip: Uncontrolled memory allocation via the declared uncompressed size (DoS) (cthackers adm-zip)
En bref
- Source
- NVD
- EPSS
- EPSS 0.50 % · centile 45 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Produits affectés
- cthackers · adm-zip
- Statut NVD
- Awaiting Analysis
Rechercher sur…
Description
adm-zip is a JavaScript library for creating and extracting ZIP archives in Node.js. Prior to 0.6.1, getData() in zipEntry.js trusts an entry's central-directory uncompressed size and allocates output memory before validating that value against the actual compressed data and decompression result. A small crafted ZIP can declare a multi-gigabyte uncompressed size, causing Buffer.alloc and decompression handling to commit excessive resident memory before CRC validation reports an error. Applications that read entries from untrusted archives can therefore be terminated by the operating system or suffer service-wide memory exhaustion. This issue is fixed in version 0.6.1.
Faiblesses (CWE)
- CWE-789 — Allocation mémoire d'une taille excessive
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| 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 | GitHub_M |
| 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 · security-advisories@github.com (Secondary) |
Avis
- GHSA-7q85-xj36-vmfc — adm-zip: Uncontrolled memory allocation via the declared uncompressed size (DoS)
Références européennes
- ENISA EUVD · EUVD-2026-83170
- GCVE · GCVE-0-2026-77301
Avis du CERT-FR
- CERTFR-2026-AVI-1576 — Multiples vulnérabilités dans les produits Splunk · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
| cthackers · adm-zip | affectée : < 0.6.1 |
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 |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| 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 |