Skip to main content

fflate EUVDEUVD-2026-141522

| CVE-2026-142183 HIGH
Unchecked Input for Loop Condition (CWE-606)
2026-12-02 VulnCheck GHSA-x98h-6g6q-7pp7
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit ~100-byte crafted ZIP64 archive
  2. Exploit
    App calls fflate unzipSync/unzip
  3. Execution
    Unchecked 32-bit entry count drives parse loop
  4. Impact
    Event loop blocked for minutes, service denied

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Unchecked input for loop condition
Exploitation Conditions

Exploitation requires that the target application pass attacker-controlled ZIP bytes into fflate's unzipSync or unzip functions; the malicious trigger is a crafted ZIP64 end-of-central-directory record whose 32-bit total-entry count is not validated against the archive's real contents (CWE-606, unchecked input for a loop condition). No authentication or user interaction is needed (PR:N/UI:N) and default usage is affected - there is no special configuration flag to enable. The practical limiting factor is exposure: an application is only vulnerable if it decompresses untrusted/remote ZIP input with these specific functions, and impact is confined to blocking the JavaScript event loop (availability only) of the affected process rather than any data exposure.

Impact

This is a genuine but bounded availability risk. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a remote, low-complexity, unauthenticated trigger whose only impact is availability (VA:H; VC/VI/SC/SI/SA all N), consistent with a pure denial-of-service and the 8.7 (High) score. The vuln.today decision label is 'this_week' rather than act_now/emergency, which aligns with a non-code-execution DoS. No CISA KEV listing is present, so there is no confirmed active exploitation, and no EPSS probability was supplied, so widespread-exploitation likelihood cannot be quantified from the input. No PoC or exploit reference is provided - only the vulnerable source lines and the VulnCheck advisory - so this is not confirmed as weaponized. The practical severity is amplified by the asymmetry noted in the description (a ~100-byte archive causing tens of minutes of blocking), but it is constrained by the fact that impact is limited to availability of the single Node/JS process whose event loop is blocked; there is no data compromise. Net: a real priority for any service that parses untrusted ZIP input with fflate, but it is a resource-exhaustion issue, not a high-CVSS-but-no-impact finding and not a remote-code-execution emergency.

Exploit ScenarioDerived

An attacker uploads or submits a roughly 100-byte crafted ZIP archive to any endpoint of a Node.js or browser application that decompresses user-supplied ZIP data with fflate's unzipSync or unzip. The malformed ZIP64 end-of-central-directory record declares a huge 32-bit entry count that is never validated against the actual archive size, so the parser iterates over empty entries for tens of minutes, blocking the single-threaded JavaScript event loop and denying service to all other users. No public exploit identified at time of analysis, though the VulnCheck advisory and the pinpointed source lines make reconstruction straightforward.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

Denial of service in the fflate JavaScript compression library (versions through 0.8.3) lets an attacker stall a Node.js or browser process by feeding a roughly 100-byte ZIP64 archive whose unchecked 32-bit total-entry count in the end-of-central-directory record forces unzipSync or unzip to iterate over empty entries for tens of minutes, blocking the JavaScript event loop. Any application that hands attacker-controlled ZIP bytes to these functions is exposed, with no authentication or user interaction required (PR:N/UI:N) and no configuration flag to opt out; impact is availability-only, with no confidentiality or integrity effect. No public exploit code was identified at time of analysis, but the trigger is a trivially constructible ~100-byte file, so the practical barrier is low wherever untrusted archives reach these APIs; priority is 'this_week' rather than emergency, and the first sentence of our assessment stands: this is a genuine but bounded availability risk.

RemediationAI

No vendor-released fixed version is identified in the available data; the advisory and source references all point at v0.8.3 as the affected release, so teams should track the upstream repository and the VulnCheck advisory (https://www.vulncheck.com/advisories/fflate-through-0.8.3-denial-of-service-via-zip64-central-directory-entry-count) for a patched release and upgrade as soon as one is tagged. Until then, the effective control is to stop feeding untrusted archives into unzipSync and unzip: pre-screen incoming ZIP bytes and reject any archive containing a ZIP64 end-of-central-directory record whose declared total-entry count is implausible for the payload size, or route decompression through a parser that validates the count against the actual central directory, accepting that this requires custom pre-parse logic ahead of the library call. As a containment measure, run decompression inside a Node.js Worker thread, child process or equivalent isolated execution context with a hard CPU timeout so that a spinning parse cannot monopolise the main event loop; the trade-off is added architectural complexity, per-job memory overhead and the need to terminate rather than gracefully recover the worker, and it bounds the blast radius without eliminating the CPU burn. Generic upload-size limits are of limited value here because the malicious archive is only about 100 bytes, so size caps alone will not stop the trigger, while aggressive entry-count or decompressed-size limits applied before parsing risk rejecting legitimate large archives.

Affected VersionsENISA

fflate 0 ≤0.8.3

Affected Packages

euvd fflate no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

fflate is a pure JavaScript/TypeScript DEFLATE, gzip and ZIP implementation used in both Node.js and browser bundles. The vulnerable code paths are the synchronous unzipSync and streaming unzip parsers in src/index.ts (the CVE references lines 3826-3840 and 3762-3776 of the v0.8.3 source). When a ZIP64 end-of-central-directory record is present, the library reads the record's 32-bit total-entry count and uses it to drive a loop that walks the central directory; the value is never cross-checked against the actual bytes remaining in the archive or against the number of real entries, which is the classic CWE-606 pattern of an unchecked input used as a loop condition. Because the field is 32-bit, a count near 4.29 billion is legal input, and each iteration over a non-existent entry is cheap but non-zero, so a ~100-byte file buys tens of minutes of CPU-bound parsing that monopolises the JavaScript event loop in Node (starving all concurrent requests in that process) or freezes the browser tab. Our independent assessment scores this CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, matching the published CVSS 4.0 vector (VA:H) in rating availability as the only impacted property; the sole precondition is that the target application passes attacker-controlled ZIP data into unzipSync or unzip, and the exact trigger mechanics beyond the unvalidated entry count are not elaborated further in the available sources.

Know when Fflate gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

Remote, unauthenticated, low-complexity parse of attacker-supplied ZIP with no user interaction; impact is availability-only event-loop blocking, so C:N/I:N/A:H and scope unchanged.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

fflate through 0.8.3 contains a denial of service vulnerability in unzipSync and unzip that allows attackers to cause excessive iteration via a crafted ZIP64 end of central directory entry count. Attackers can supply a roughly 100-byte archive whose unchecked 32-bit entry count drives parsing of empty entries for tens of minutes, blocking the JavaScript event loop.

Executive ViewAI

Why It Matters

CVE-2026-142183 is a high-severity denial-of-service vulnerability in the widely used fflate JavaScript compression library, affecting any Node.js or browser application that processes attacker-supplied ZIP files. A tiny, trivially crafted archive can freeze application threads for tens of minutes, causing service outages in affected systems.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Restrict or disable processing of untrusted ZIP archives in affected applications, enforce strict input validation and size limits, and consider alternative libraries or sandboxed environments for handling untrusted archives.

Threat Intelligence Overview

Prevalence
High
fflate is a very widely used JavaScript compression library with heavy npm usage
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy