RCE in Binary-Parser
CVE-2026-1245
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.005 (44.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 44th percentile — 44.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: +0.000
Affected products
- Binary-Parser — versions 0
- Keichi Binary-Parser
Weakness classification (CWE)
References
- github.com/keichi/binary-parser/pull/283 (Patch)
- github.com/keichi/binary-parser (Product)
- www.npmjs.com/package/binary-parser (Product)
- kb.cert.org/vuls/id/102648 (Third Party Advisory)
- af854a3a-2127-422b-91ae-364da2661108 (Third Party Advisory)
Frequently asked questions
- What is CVE-2026-1245?
- CVE-2026-1245 is a medium-severity vulnerability in Binary-Parser, classified under Code Injection. CVSS score: 6.5/10. Published 2026-01-20.
- How severe is CVE-2026-1245?
- Medium severity. CVSS v3 base score is 6.5 out of 10.