CVE-2026-134814: Vulnerability in Keichi Binary-parser
Critical. 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.
CWE-94
- Exploitation
- None confirmed
- Severity
- 9.2 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-hhq6-2gpv-hrf4
- Vector
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Weakness
- CWE-94
- Published
- 22 Nov 2026
- Last change
- 28 Nov 2026
Affected products
Affected versions and the first fixed release
- Keichi Binary-parser Before 2.3.1. Fixed in 2.3.1
- Binary-parser Before 2.3.1. Fixed in 2.3.1
Advisories
Vendor and security advisories
- github.com/keichi/binary-parser/security/advisories/GHSA-xmxc-6c22-m377
- github.com/keichi/binary-parser/blob/v2.3.0/lib/binary_parser.ts
- vulncheck.com/advisories/binary-parser-before-2.3.1-code-injection-via-string-typed-par...
Patches and fixes
Updates, commits and release notes
- github.com/keichi/binary-parser/commit/110206bb126a80071158fb0e2e3d7cc658f2bfe4
- github.com/keichi/binary-parser/commit/4b26e04c396253e704ad8e41b928d9e31316f62e
Related
- Binary-parser vulnerabilities Recent advisories, watch this product
- Binary-parser vulnerabilities Recent advisories, watch this product