CVE-2026-134814 binary-parser before 2.3.1 Code Injection via String-Typed Parser Options
CriticalCVSS 9.2
- Published
- Updated
- Exploit status
- No public exploit known
Description
binary-parser before 2.3.1 contains a code injection vulnerability that allows attackers controlling parser definitions to inject JavaScript through string-typed options passed unvalidated by Context.generateOption(). Attackers can supply crafted length, lengthInBytes, key, tag, offset, or namely() alias values to execute arbitrary JavaScript in the Node.js process when the parser is compiled.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm binary-parser | < 2.3.1 | 2.3.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm binary-parser | < 2.3.1 | 2.3.1 |
References
- GitHub Security Advisory (GHSA-xmxc-6c22-m377) vendor-advisory
- github.com patch
- github.com patch
- github.com technical-description
- VulnCheck Advisory: binary-parser before 2.3.1 Code Injection via String-Typed Parser Options third-party-advisory
- ENISA EUVD EUVD-2026-132849 third-party-advisory
- nvd.nist.gov