# CVE-2026-134814: binary-parser before 2.3.1 Code Injection via String-Typed Parser Options

- Severity: Critical 9.2 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.13%, higher than 82% of CVEs (2026-12-01)
- Published: 2026-11-22T21:22:15.654Z
- Modified: 2026-11-28T03:17:02.327Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- keichi binary-parser: before 2.3.1

## Every score

- VulnCheck: CVSS:4.0 9.2 Critical `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/keichi/binary-parser/security/advisories/GHSA-xmxc-6c22-m377> (vendor-advisory)
- <https://github.com/keichi/binary-parser/commit/110206bb126a80071158fb0e2e3d7cc658f2bfe4> (patch)
- <https://github.com/keichi/binary-parser/commit/4b26e04c396253e704ad8e41b928d9e31316f62e> (patch)
- <https://github.com/keichi/binary-parser/blob/v2.3.0/lib/binary_parser.ts#L26-L35> (technical-description)
- <https://www.vulncheck.com/advisories/binary-parser-before-2.3.1-code-injection-via-string-typed-parser-options> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-134814](https://www.cve.org/CVERecord?id=CVE-2026-134814), CVE Terms of Use, modified 2026-11-28
- NVD: [CVE-2026-134814](https://nvd.nist.gov/vuln/detail/CVE-2026-134814), Public domain, modified 2026-11-28

---

Page: https://cve.day/CVE-2026-134814 · Whole record: https://cve.day/CVE-2026-134814.json · Rebuilt by cve.day 2026-11-28T03:17:12.950Z
