Back to list

adm-zip: Uncontrolled memory allocation via the declared uncompressed size (DoS) — GHSA-7Q85-XJ36-VMFC

GitHub · GitHub · GHSA-7Q85-XJ36-VMFC

ID
GHSA-7Q85-XJ36-VMFC
Date
Source
GitHub
Vendor
GitHub
Threat
high
CVSS
7.5

Summary

### Summary adm-zip allocates an entry's output buffer from the declared uncompressed size (central-directory `size` field) before validating it against the actual data. A tiny crafted ZIP that declares a huge uncompressed size forces a multi-gigabyte allocation from a few bytes. ### Impact On adm-zip 0.5.17 (latest), Node 24, a 105-byte ZIP with one stored entry declaring size = 1,774,399,200 makes `new…

Timeline

Published by source
2026-09-18

Risk context

  • Reported severity or threat level: high.
  • Reported CVSS score: 7.5 out of 10.
  • Review exposure for the affected product or family: npm: adm-zip.

Product

npm: adm-zip

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Evidence and provenance

Canonical advisory ID
GHSA-7Q85-XJ36-VMFC
Source
GitHub
Vendor
GitHub
Published by source
2026-09-18
Last source activity
2026-09-18
Additional identifiers
CVE-2026-77301
Curated by
hlukh.ch

Related advisories and connections

These advisories are connected by shared CVE, product, vendor, source, or time signals.