binary-parser before 2.3.1 contains a code injection vulnerability that allows attackers controlling parser
Source GCVE Database
Not known to be exploited · CVSS 9.2 Critical : upgrade to 2.3.1 as a priority.
Data as of 23 Nov 2026, 01:22 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 9.2 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 8.1 |
- Patch
- Available – fixed in 2.3.1
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.
What to do
Upgrade binary-parser to 2.3.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| keichibinary-parser | Affected
| Fixed in
|
npmbinary-parserpkg:npm/binary-parserOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fixed version 2.3.1 or later should be used to remediate this vulnerability. Until patched, avoid using untrusted parser definitions or inputs that could be crafted to exploit this vulnerability.
Description
binary-parser versions before 2.3.1 have a code injection vulnerability that allows attackers who control parser definitions to inject and execute arbitrary JavaScript code within the Node.js process. This occurs because string-typed options passed to Context.generateOption() are not properly validated, enabling malicious input in fields such as length, lengthInBytes, key, tag, offset, or namely() alias values.
References
- github.com/keichi/binary-parser/security/advisories/GHSA-xmxc-6c22-m377 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-134814 (opens in a new tab)
- github.com/keichi/binary-parser/commit/110206bb126a80071158fb0e2e3d7cc658f2bfe4 (opens in a new tab)
- github.com/keichi/binary-parser/commit/4b26e04c396253e704ad8e41b928d9e31316f62e (opens in a new tab)
- github.com/keichi/binary-parser/blob/v2.3.0/lib/binary_parser.ts (opens in a new tab)
- vulncheck.com/advisories/binary-parser-before-2.3.1-code-injection-via-string-typed-parser-options (opens in a new tab)