CVE-2026-134814
Received Received - Intake

Code Injection in binary-parser via Unvalidated String Options

Vulnerability report for CVE-2026-134814, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-22

Last updated on: 2026-11-22

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-22
Last Modified
2026-11-22
Generated
2026-11-23
AI Q&A
2026-11-23
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
keichi binary-parser From 0 (inc) to 2.3.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a code injection issue in the binary-parser library before version 2.3.1. Attackers can exploit it by controlling parser definitions to inject JavaScript through unvalidated string-typed options. This happens when values like length, key, or offset are supplied with malicious payloads, allowing arbitrary JavaScript execution in the Node.js process during parser compilation.

Impact Analysis

If you use the affected binary-parser library, attackers could execute arbitrary code on your system. This could lead to data theft, system compromise, or unauthorized actions. The impact depends on the privileges of the Node.js process running the parser.

Compliance Impact

This vulnerability could lead to unauthorized data access or exfiltration, violating GDPR's data protection requirements or HIPAA's safeguards for protected health information. Organizations using the vulnerable library may face compliance violations, legal penalties, and reputational damage.

Mitigation Strategies

Update the binary-parser package to version 2.3.1 or later to address the code injection vulnerability. Review parser definitions for untrusted input handling and avoid passing user-controlled values to string-typed options.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-134814. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...