home / blog
2026-11-23 · high
CVE-2026-134814: Code Injection in binary-parser
Code injection vulnerability in binary-parser before 2.3.1. CVSS 8.1, high severity.

CVE-2026-134814 is a code injection vulnerability present in binary-parser versions prior to 2.3.1. The vulnerability allows attackers controlling parser definitions to inject JavaScript through unvalidated string-type options passed by Context.generateOption(). By supplying crafted values for options like length, lengthInBytes, key, tag, offset, or namely() aliases, attackers can execute arbitrary JavaScript in the Node.js process during parser compilation.
The vulnerability is classified as high severity with a CVSS score of 8.1. The vulnerability was officially published on November 22, 2026, and there are already GitHub repositories that claim to contain exploits for this flaw. The signal indicates that the vulnerability is confirmed and the fix has been implemented in version 2.3.1.
In defense, it is crucial to immediately apply the update to binary-parser version 2.3.1. For implementations that cannot be updated immediately, it is necessary to implement strict validation on all string-type options passed to the parser. It is also recommended to verify the supply chain to identify any dependencies using vulnerable versions of the library.
At a glance
- What
- Code injection vulnerability that allows arbitrary JavaScript execution in Node.js
- Severity
- CVSS 8.1 (high)
- Affected versions
- binary-parser before 2.3.1
- Fix
- Update to version 2.3.1
- Status
- Officially published on 2026-11-22
- Action
- Immediately apply the patch to version 2.3.1
Sources: NVD, CVE-2026-134814