CVE-2026-134814 PUBLISHED

binary-parser before 2.3.1 Code Injection via String-Typed Parser Options

Assigner: VulnCheck
Reserved: 22.11.2026 Published: 22.11.2026 Updated: 22.11.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 9.2

Product Status

Vendor keichi
Product binary-parser
Versions Default: unaffected
  • affected from 0 to 2.3.1 (excl.)

Credits

  • Zachariah Mithani (AploSec) finder

References

Problem Types

  • Improper Control of Generation of Code ('Code Injection') CWE