Intel

AIKIDO-2026-278115

@zip.js/zip.js is vulnerable to Denial of Service (DoS)

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 17, 2026
July 17, 2026

79

CVE Score

High

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

ZipReader discovers the end-of-central-directory (EOCD) record by scanning for the first matching signature from the end of the archive, without requiring that the chosen record be the last end-anchored entry that actually points at a central directory. A crafted archive can embed EOCD-like signatures in the comment or in appended data so recovery picks a wrong or forged directory, and under tolerant handling a stray signature can hijack the fallback scan. On random-access readers such as HttpRangeReader, probing many unreachable comment-stuffed candidates can also amplify into a large number of range reads and degrade availability. The fix selects the correct end-anchored reachable EOCD, prefers the reconciled central-directory offset, refuses ambiguous comment-cloak polyglots under stricter modes, and bounds reachability probes.

How do I fix this?

Upgrade the @zip.js/zip.js library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application parses untrusted ZIP archives with ZipReader.

Versions

2.0.0 - 2.8.29

Fixed in 2.8.30

Background info

@zip.js/zip.js is vulnerable to Denial of Service (DoS) in versions 2.0.0 - 2.8.29.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea