Skip to main content

binary-parser EUVDEUVD-2026-132849

| CVE-2026-134814 CRITICAL
Code Injection (CWE-94)
2026-11-22 VulnCheck GHSA-hhq6-2gpv-hrf4
9.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Control schema/JSON-driven parser definition
  2. Exploit
    Craft malicious string-typed option (length/tag/offset/key/namely alias)
  3. Execution
    Verbatim interpolation into generated parser source
  4. Impact
    Parser compiled, arbitrary JS executes in Node.js process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the application constructs binary-parser parser definitions from attacker-controlled input - specifically schema-driven or JSON-driven parsers where these string-typed options are populated from untrusted sources: length of string/buffer/array/wrapped/seek, lengthInBytes and key of array, tag of choice, offset of pointer, or the alias passed to namely(). The injected value executes when the parser is compiled. The key limiting factor, stated explicitly by the vendor, is that parsing untrusted binary data with a trusted parser definition is NOT affected - the danger is solely in untrusted definitions. The AT:P/AC:H qualifiers reflect this non-default design dependency rather than any described timing or race condition; the available sources do not describe the trigger as requiring any special runtime state beyond controlling the option string.

Impact

Signals are moderately strong but conditional. The vendor CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) scores 9.2 and reflects full compromise of the Node.js process (VC:H/VI:H/VA:H) with no scope change to other systems (SC:N/SI:N/SA:N); note the AC:H and AT:P (Attack Requirements: Present) qualifiers, which indicate the attack is not trivially reproducible against any default deployment. The vuln.today decision label is act_now and the finding was reported by VulnCheck, which argues for prompt remediation. However, no EPSS probability and no CISA KEV status are present in the input, so there is no evidence of active, widespread exploitation - exploitation status should be read as the condition described below, not as 'in the wild.' A proof-of-concept injection payload (x+(globalThis.INJECTED=1,0)) is publicly embedded in the fix commit's regression test, demonstrating the mechanism concretely. The decisive risk gate is architectural, not technical: the flaw only matters where the application builds parser definitions from attacker-controlled input (schema- or JSON-driven parsers). Where parser definitions are trusted and only the binary payload is untrusted, the issue does not apply. This is therefore a genuine high-severity priority for the specific class of applications that accept untrusted parser definitions, but a high-CVSS-but-low-real-risk issue for the majority that hard-code their parser schemas. EPSS and KEV data are missing from the input and should be checked before final prioritization.

Exploit ScenarioDerived

An application exposes a schema- or JSON-driven interface built on binary-parser, letting users define how binary blobs are parsed. An attacker submits a parser definition whose string-typed option (e.g. a field length or a namely() alias) contains JavaScript rather than a simple identifier; because Context.generateOption() interpolates the value verbatim into the generated parser source, the attacker's code executes in the Node.js process when the parser is compiled. A working PoC payload exists in the fix commit's regression test, confirming the technique.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 22, 2026

Code injection in binary-parser through 2.3.0 allows unauthenticated attackers who control parser definitions to execute arbitrary JavaScript in the Node.js process when the parser is compiled. The flaw affects string-typed options such as length, lengthInBytes, key, tag, offset, and namely() aliases that are interpolated into generated source without validation; parsing untrusted binary data with a trusted parser definition is not affected. A public PoC reference exists in the upstream regression test, but it is not verified as working exploit code; no CISA KEV listing is provided.

RemediationAI

Vendor-released patch: 2.3.1. Upgrade binary-parser to 2.3.1, which validates these options as identifier paths; the fix is in commits 110206bb126a80071158fb0e2e3d7cc658f2bfe4 and 4b26e04c396253e704ad8e41b928d9e31316f62e and is documented in GHSA-xmxc-6c22-m377. After upgrading, parser definitions that use expressions such as "len - 1" in length, lengthInBytes, offset, tag, key, or namely() aliases will throw "Invalid reference"; replace those expressions with functions. If immediate upgrade is not possible, do not construct parser definitions from untrusted JSON or schema input and restrict who can supply definitions, because the library compiles definitions into JavaScript; the vendor states that untrusted binary data with trusted parser definitions is not affected. No other vendor workaround is specified.

Affected VersionsENISA

binary-parser 0 <2.3.1

Affected Packages

euvd binary_parser fix: 2.3.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

binary-parser is an npm library for declaratively parsing binary formats in Node.js. It compiles parser definitions into JavaScript source and uses Context.generateOption() to emit references for string-typed options. The prior fix for CVE-2026-1245 validated field names and encodings, but other string-typed options were still interpolated verbatim into generated parser source, enabling code injection (CWE-94). The 2.3.1 patch adds an IDENTIFIER regex and sanitizeReference() that permit only identifier paths such as foo or $parent.len, and applies validation to namely() aliases and array keys. Expressions such as "len - 1" are now rejected and must be replaced with functions. The CPE identifies the npm package keichi:binary-parser, with versions through 2.3.0 vulnerable and 2.3.1 fixed. The assessed CVSS 3.1 vector is AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, reflecting the non-default requirement that the application accept attacker-controlled parser definitions rather than any timing or race condition described in the sources.

Know when Node.js gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 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
vuln.today AI 8.1 HIGH

AC:H because exploitation depends on the non-default pattern of building parsers from attacker-controlled definitions; PR:N/UI:N since no auth or interaction is needed in that pattern; C/I/A:H for full Node.js process compromise, scope unchanged.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Technical POC Analysis

CWE-94: Improper Control of Generation of Code.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-134814 is a critical code injection flaw in binary-parser (through 2.3.0) that allows unauthenticated attackers who control parser definitions to execute arbitrary JavaScript in the Node.js process. This impacts any organization using binary-parser to parse untrusted binary data with dynamically supplied parser definitions, potentially leading to full system compromise. Leadership should prioritize immediate remediation because exploitation could result in data breaches, service disruption, and regulatory exposure.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 50% exploitable
Prevalence
Medium
popular npm binary-parsing library, but vulnerable usage pattern is narrow
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy