hacker-news · Crawled Nov 24, 2026
Critical binary-parser Flaw Enables JavaScript Injection via Malicious Parser Definitions
2 CVEs
Read original article ↗
AI Summary
A critical code injection vulnerability, CVE-2026-134814, has been identified in the binary-parser library prior to version 2.3.1. The flaw allows attackers who control parser definitions to inject and execute arbitrary JavaScript by supplying malicious values in options such as length, lengthInBytes, key, tag, offset, or namely() aliases. The vulnerability stems from insufficient validation of string-typed options during parser compilation, enabling code execution within the Node.js process. This issue is considered an incomplete fix for a previously addressed vulnerability, CVE-2026-1245.
AI-extracted · verify before operational use