Repository navigation
[GHSA-vfj7-8cjw-p6xm] braces vulnerable to stack-exhaustion denial of service through deeply nested patterns - #10174
Open
VicRobNes wants to merge 1 commit into
Conversation
github-actions
Bot
changed the base branch from
main
to
VicRobNes/advisory-improvement-10174
October 4, 2026 17:55
Author
|
Curator note: GitHub's advisory improvement form removed the existing CVSS v3 vector in the generated changes. NDC Inc. did not assess or request a change to the severity score. Please keep the current CVSS v3 vector and score when you review this request. Our research supports the updated description and references. |
This was referenced Oct 5, 2026
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.
Updates
Comments
NDC Inc. checked the published npm 3.0.3 package and its public source. The proposed text names all three affected public methods. It also makes process termination conditional on an unhandled error. In isolated tests on Node.js 22.23.3, a 9,000-character nested pattern caused stack errors. The affected methods were
compile,expand, andstringify.A direct, unhandled
expandcall exited with status 1. On Node.js 24.21.0, the same direct call exited in 19 of 20 trials at 10,000 characters. It exited in 2 of 20 trials at 9,000 characters. The variable threshold supports the runtime qualification.The new references show the public methods, the input limit, and the
stringifywalker. No released fixed version was found. Open upstream patch proposals remain unmerged and are not listed as patched versions.Submission note: GitHub's improvement form also removed the existing CVSS v3 vector. NDC Inc. did not assess or request a severity change. Please retain the current CVSS v3 metadata when reviewing this description and its references.