Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-134814
Published:November 22, 2026
Updated:November 23, 2026
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.
Affected Packages
https://github.com/keichi/binary-parser.git (GITHUB):
Affected version(s) >=0.0.1 <v2.3.1 || >=1.0.0 <v2.3.1 || >=v1.3.3 <v2.3.1 || >=v2.0.0 <v2.3.1
Fix Suggestion:
Update to version v2.3.1
binary-parser (NPM):
Affected version(s) >=1.0.0 <2.3.1 || >=0.0.1 <2.3.1 || >=2.0.0 <2.3.1
Fix Suggestion:
Update to version 2.3.1
Do you need more information?
Contact Us
CVSS v4
Base Score:
9.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.1
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Control of Generation of Code