[NEW] CVE-2026-38359: xlsx ZIP Header Memory Allocation DoS#7612
Open
tldhs1144 wants to merge 1 commit intogithub:tldhs1144/advisory-improvement-7612from
Open
Conversation
26fd0d0 to
99ff3cc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Submitting a new advisory for SheetJS
xlsxCommunity Edition (npm).xlsx(npm, ~2M weekly downloads)AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H)Why a PR (not a repo Security advisory)
SheetJS Community Edition has been unmaintained since 2022; active development moved to the commercial Pro product. This community PR is the path of last resort to surface the issue in
npm audit/ Dependabot.What I'm asking from the curation team
GHSA-xxxx-xxxx-xxxxID to replacexlsx-zip-bomb-cve-2026-38359github-reviewedindexVulnerability summary
The parser reads the uncompressed-size field from the ZIP local file header (
xlsx.js:2670) and passes it directly toBuffer.allocUnsafe()(xlsx.js:2529) without any maximum-size or compression-ratio check. The "consistency check" against the central directory (line 2700-2701) is ineffective because both headers are attacker-controlled.A ~10 KB XLSX file with modified ZIP headers declaring 10 GB total uncompressed size reliably triggers an out-of-memory crash on Node.js.
Researcher
Sion Park (
tldhs1144@gmail.com)Companion submissions in parallel PRs: