← Back to CVEs
CVE-2026-1245
MEDIUM6.5
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.
CVE Details
CVSS v3.1 Score6.5
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published1/20/2026
Last Modified2/3/2026
Sourcenvd
Honeypot Sightings0
Affected Products
keichi:binary-parser
Weaknesses (CWE)
CWE-94
References
https://github.com/keichi/binary-parser(cret@cert.org)
https://github.com/keichi/binary-parser/pull/283(cret@cert.org)
https://kb.cert.org/vuls/id/102648(cret@cert.org)
https://www.npmjs.com/package/binary-parser(cret@cert.org)
https://www.kb.cert.org/vuls/id/102648(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.