CVE-2026-134814
binary-parser before 2.3.1 Code Injection via String-Typed Parser Options
CVSS Score
8.1
EPSS Score
2.1%
EPSS Percentile
83th
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 | CWE-94 |
| Vendor | keichi |
| Product | binary-parser |
| Published | Nov 22, 2026 |
| Last Updated | Nov 28, 2026 |
Stay Ahead of the Next One
Get instant alerts for keichi binary-parser
Be the first to know when new high vulnerabilities affecting keichi binary-parser are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
keichi / binary-parser
0 < 2.3.1
References
github.com: https://github.com/keichi/binary-parser/security/advisories/GHSA-xmxc-6c22-m377 github.com: https://github.com/keichi/binary-parser/commit/110206bb126a80071158fb0e2e3d7cc658f2bfe4 github.com: https://github.com/keichi/binary-parser/commit/4b26e04c396253e704ad8e41b928d9e31316f62e github.com: https://github.com/keichi/binary-parser/blob/v2.3.0/lib/binary_parser.ts#L26-L35 vulncheck.com: https://www.vulncheck.com/advisories/binary-parser-before-2.3.1-code-injection-via-string-typed-parser-options
Credits
Zachariah Mithani (AploSec)