Code injection in binary-parser via string-typed parser options
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
binary-parser before 2.3.1 from keichi contains a code injection flaw in which string-typed parser options are passed unvalidated to Context.generateOption(). An attacker who controls parser definitions can inject JavaScript through options such as length, key, tag, offset or namely() aliases, which the Node.js process runs when the parser is compiled. The flaw is tracked under CWE-94 and has a CVSS 4.0 base score of 9.2 (critical), with network attack requiring no privileges or user interaction but high attack complexity.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade binary-parser to version 2.3.1, which is the first fixed version. The sources list no fixed version for any other release line.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
- Fix · CNA binary-parser (keichi) Fixed in 2.3.1
Timeline
- 2026-11-22 Threatist record created from CVE-2026-134814
- 2026-11-23 Alias added: GHSA-hhq6-2gpv-hrf4
- 2026-11-24 EPSS moved to the below the 50th percentile
- 2026-11-25 EPSS moved to the 50th–90th percentile
- 2026-11-28 CISA SSVC decision points changed
References
Patch 2
More keichi vulnerabilities
- TI-2026-00964 Code injection in binary-parser CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-134814 · CVE Program
- CVE-2026-134814 · NVD
- FIRST EPSS
- GHSA-hhq6-2gpv-hrf4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences