Skip to content

fix: prevent out-of-bounds read in tryBacktrackAddStarExportBinding#41

Merged
anonrig merged 1 commit intomainfrom
yagiz/fix-out-of-bounds-read
Mar 11, 2026
Merged

fix: prevent out-of-bounds read in tryBacktrackAddStarExportBinding#41
anonrig merged 1 commit intomainfrom
yagiz/fix-out-of-bounds-read

Conversation

@anonrig
Copy link
Member

@anonrig anonrig commented Mar 11, 2026

Fix heap-buffer-overflow read in tryBacktrackAddStarExportBinding when require() is the first token in the input (e.g. ncc/webpack bundles starting with require('./sourcemap-register.js'))

Fixes nodejs/node#62212

@anonrig anonrig merged commit 4d450dc into main Mar 11, 2026
18 checks passed
@anonrig anonrig deleted the yagiz/fix-out-of-bounds-read branch March 11, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SIGSEGV when ESM import() loads large CJS webpack bundle (merve regression in v24.14.0)

2 participants