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

Published Updated

Attackers controlling parser definitions can inject JavaScript via string options in binary-parser, executing code in the Node.js process.

CVSS score

Critical

9.2/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
Proof of concept
3 on GitHub, unverified
Fix
Available
2.3.1
Attack path
Over the internet
No login, no user action

What is CVE-2026-134814?

CVE-2026-134814 is a critical code injection vulnerability in keichi binary-parser, published on 22 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-94

How severe is CVE-2026-134814?

CVE-2026-134814 scores 9.2 out of 10 under CVSS 4.0, which is critical severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
High
Attack requirements
Present
Privileges required
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High

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

Which versions are affected by CVE-2026-134814?

1 open source package ship an affected version, including binary-parser.

An affected version is only exploitable if your software calls Context.generateOption(). Many projects that include it are not exposed.

PackageAffectedFixed in
binary-parser npm
pkg:npm/binary-parser
All versions2.3.1

How do I fix CVE-2026-134814?

Upgrade binary-parser to 2.3.1 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-134814 being exploited?

There is no known exploitation of CVE-2026-134814 in the wild and no public exploit code.

Public exploit code: 3 proofs of concept on GitHub.

Sources

Also known as GHSA-hhq6-2gpv-hrf4, GHSA-xmxc-6c22-m377.

Is CVE-2026-134814 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free