Skip to page content

AEGLIX MIND

Connected intelligence.Security research, connected

AEGLIX news · Global

Critical binary-parser Flaw Allows JavaScript Injection via Parser Definitions

Based on reporting from The Hacker News

Published by the source: Mon, 23 Nov 2026 18:52:20 +0530

AEGLIX News

A critical code injection vulnerability identified as CVE-2026-134814 affects binary-parser versions prior to 2.3.1, carrying CVSS scores of 9.2 and 8.1, according to an advisory released by the project maintainer on November 11, 2026. The flaw enables attackers who control parser definitions to inject and execute arbitrary JavaScript within the Node.js process when the parser is compiled.

The vulnerability stems from insufficient validation of user-controlled string options such as length, lengthInBytes, key, tag, offset, and namely() alias values. These options were inserted directly into generated JavaScript code by the Context.generateOption() function without adequate sanitization. Notably, parsing untrusted binary data using a trusted parser definition remains unaffected by this issue. The vulnerability is characterized as an incomplete fix for CVE-2026-1245, a previous code injection flaw from January 2026 with a CVSS score of 6.5.

Security analysis confirms that crafted values supplied for string-typed parser options can trigger arbitrary code execution during the parser compilation phase. The mechanism relies on the direct interpolation of attacker-supplied strings into the code generation pipeline, bypassing intended safety boundaries. This represents a regression or incomplete remediation of the earlier CVE-2026-1245 vulnerability, indicating that the prior mitigation did not fully address the attack surface exposed by dynamic option handling.

The project maintainer has released version 2.3.1 containing a fix that validates options as identifier paths such as foo or $parent.len while rejecting expressions like len - 1. Users are advised to update to the latest version of the library for optimal protection. The advisory published on November 11, 2026 provides detailed information on the vulnerability and remediation steps.

Report prepared 2026-11-23 · Based on reporting from The Hacker News. Source publication date above; subsequent developments may not be reflected.

Sources

Read original source · The Hacker News (opens in a new tab)

Privacy policy

Explore the story

Consult the cited publisher for the original reporting, updates and supporting evidence. Check the publication date and source before acting on a headline.

These are research tools; no CVE, indicator, or campaign relationship is inferred from this article.

More from The Hacker News

← Back to security news