CVE-2026-1245: Code Injection
A code injection vulnerability in the binary-parser library prior to version 2.3.0 allows arbitrary JavaScript code execution when untrusted values are used in parser field names or encoding parameters. The library directly interpolates these values into dynamically generated code without sanitization, enabling attackers to execute arbitrary code in the context of the Node.js process.
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2026-1245?
CVE-2026-1245 is classified as a high severity vulnerability due to its potential for arbitrary code execution.
How do I fix CVE-2026-1245?
To fix CVE-2026-1245, upgrade the binary-parser library to version 2.3.0 or later.
What types of applications are affected by CVE-2026-1245?
CVE-2026-1245 affects applications that use the binary-parser library in a vulnerable version prior to 2.3.0.
Can CVE-2026-1245 be exploited remotely?
Yes, CVE-2026-1245 can be exploited remotely if untrusted input is processed by the parser.
What are the potential consequences of CVE-2026-1245?
The potential consequences of CVE-2026-1245 include unauthorized execution of arbitrary JavaScript code, leading to data breaches or further system compromise.