CVE-2026-45820
MEDIUM 6.6CVSS 4.0fflate unzipSync can enter an infinite loop when parsing malformed ZIP64 archives
fflate through 0.8.2 is vulnerable to denial of service via an infinite loop in unzipSync(). A crafted ZIP archive with a central directory entry declaring compressed_size=0xFFFFFFFF (ZIP64 sentinel) but missing the required ZIP64 extra field tag 0x0001 causes z64e() to loop indefinitely due to out-of-bounds reads returning undefined, which coerces to 0, keeping the loop condition permanently true.
- Published
- 22 Jul 2026
- Last modified
- 24 Oct 2026
- Assigned by
- 22e2d327-25fe-45d7-9f0c-dcd23b7108df
- NVD status
- Analyzed
- Weakness
- CWE-400
- Also known as
- GHSA-px8p-9vwx-vf98
- Sources
- NVDJSONOSV GHSA-px8p-9vwx-vf98JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 22e2d327-25fe-45d7-9f0c-dcd23b7108df (Secondary) | 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:N/AU:Y/R:U/V:D/RE:M/U:Amber |
| OSV | GitHub | CVSS 4.0 | 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/S:N/AU:Y/R:U/V:D/RE:M/U:Amber | |
| NVD | nvd@nist.gov (Primary) | 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 |
| OSV | GitHub | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | 101arrowz | fflatecpe:2.3:a:101arrowz:fflate:*:*:*:*:*:node.js:*:* |
<= 0.8.2 | |
| OSV | npm | fflate | >= 0.4.5, < 0.4.9 | 0.4.9 |
| OSV | npm | fflate | >= 0.5.0, < 0.5.4 | 0.5.4 |
| OSV | npm | fflate | >= 0.6.0, < 0.6.11 | 0.6.11 |
| OSV | npm | fflate | >= 0.7.0, < 0.7.5 | 0.7.5 |
| OSV | npm | fflate | >= 0.8.0, < 0.8.3 | 0.8.3 |
References
- https://github.com/101arrowz/fflate/blob/f7873560ad229c22c4b23b06c6a3806ffde77569/src/index.ts#L2714 · Patch, WEB
- https://www.npmjs.com/package/fflate · Product
- https://nvd.nist.gov/vuln/detail/CVE-2026-45820 · ADVISORY
- https://github.com/101arrowz/fflate/commit/e6d5e6e1076892f72770ac732d83c81da9f3316e · WEB
- https://github.com/101arrowz/fflate · PACKAGE
- https://github.com/101arrowz/fflate/releases/tag/v0.8.3 · WEB
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 22 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Jul 2026)