Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Keichi | Binary-Parser | < 2.3.0 |
Related Weaknesses (CWE)
References
- https://github.com/keichi/binary-parserProduct
- https://github.com/keichi/binary-parser/pull/283Patch
- https://kb.cert.org/vuls/id/102648Third Party Advisory
- https://www.npmjs.com/package/binary-parserProduct
- https://www.kb.cert.org/vuls/id/102648Third Party Advisory
FAQ
What is CVE-2026-1245?
CVE-2026-1245 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 parameter...
How severe is CVE-2026-1245?
CVE-2026-1245 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-1245?
Check the references section above for vendor advisories and patch information. Affected products include: Keichi Binary-Parser.