RCE in Keichi Binary-Parser
CVE-2026-134814
- CVSS v3
- 8.1 High
- Public exploits
- 2 repositories
- EPSS
- 0.006 · 50.1th percentile
- Published
- 2026-11-22
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.
Vulnerability class: RCE (Remote Code Execution)
Published .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- High
AC:H - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.006, 50.1th percentile (last changed ). About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- abraxas/cve-2026-134814-binary-parser-option-injection (last pushed 2026-11-23): CVE-2026-134814 - binary-parser - Critical 9.2 - Code injection. String options are interpolated into generated parser source, so a hostile parser definition executes JavaScript. Differential lab: 2…
- googlesky/CVE-2026-134814 (last pushed 2026-11-23): binary-parser <2.3.1: string options interpolated verbatim into generated parser JS — 'x+(globalThis.INJECTED=1,0)' as a length option executes attacker code. Real npm 2.3.0 vs 2.3.1 (110206b): globa…
References
- github.com/keichi/binary-parser/security/advisories/GHSA-xmxc-6c22-m377 (vendor-advisory)
- github.com/keichi/binary-parser/commit/110206bb126a80071158fb0e2e3d7cc658f2bfe4 (patch)
- github.com/keichi/binary-parser/commit/4b26e04c396253e704ad8e41b928d9e31316f62e (patch)
- github.com/keichi/binary-parser/blob/v2.3.0/lib/binary_parser.ts (technical-description)
- www.vulncheck.com/advisories/binary-parser-before-2.3.1-code-injection-via-stri… (third-party-advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.