All vulnerabilities

npm

CVE-2026-134814

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

Severity
Critical 9.2
Published
22 Nov 2026
Last changed
22 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
2.3.1
Exploit chance
0.6% in the next 30 daysHigher than 49% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Code injection (CWE-94)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
binary-parsernpm · osv:npm:binary-parser
  • Every version before 2.3.1

About binary-parser

Weekly downloads (npm)
31,002npm, 23 Nov 2026

This is the only vulnerability in binary-parser in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-134814