CVEvulnerability
CVE-2026-1245
6.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2026-01-20
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-94
Description
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 configurations
• keichi binary-parser (< 2.3.0)
Related
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness
References
- https://github.com/keichi/binary-parser Product
- https://github.com/keichi/binary-parser/pull/283 Patch
- https://kb.cert.org/vuls/id/102648 Third Party Advisory
- https://www.npmjs.com/package/binary-parser Product
- https://www.kb.cert.org/vuls/id/102648 Third Party Advisory