Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.4
CVE-2026-134814: binary-parser may run attacker code via crafted options
CVE-2026-134814 · published 10 days ago
Summary
The binary-parser library (versions before 2.3.1) lets a user supply specially crafted settings that are not checked, allowing malicious JavaScript to be executed in your Node.js application. This can give an attacker the ability to run any code they want on the server. Update the library to version 2.3.1 or later, or avoid using untrusted parser definitions.
What to do
- Update keichi binary-parser to version 2.3.1 or later.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| keichi | binary-parser | < 2.3.1 |
Original advisory text
binary-parser before 2.3.1 Code Injection via String-Typed Parser Options
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.
References
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-1348... Vendor Advisory
- https://github.com/keichi/binary-parser Product
- https://nvd.nist.gov/vuln/detail/CVE-2026-134814 Vendor Advisory
- https://github.com/keichi/binary-parser/commit/110206bb126a80071158fb0e2e3d7cc65... Patch
- https://github.com/keichi/binary-parser/security/advisories/GHSA-xmxc-6c22-m377 Vendor Advisory
- https://www.vulncheck.com/advisories/binary-parser-before-2.3.1-code-injection-v... Vendor Advisory
- https://github.com/keichi/binary-parser/commit/4b26e04c396253e704ad8e41b928d9e31... Patch
- https://github.com/keichi/binary-parser/blob/v2.3.0/lib/binary_parser.ts#L26-L35 Third Party Advisory
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker full control
Severity
9.4
Critical
Type
CWE-94Code Injection
Timeline
Published22 Nov 2026
Updated2 Dec 2026
First seen22 Nov 2026
Sources
CVE-2026-134814 · NVD
CVE-2026-134814 · MITRE
CVE-2026-134814 · OSV
GHSA-xmxc-6c22-m377 · GHSA
Track software like this
Free during beta