Home

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.

PUBLISHED Reserved 2026-01-20 | Published 2026-01-20 | Updated 2026-01-20 | Assigner certcc

Problem types

CWE-94 Improper Control of Generation of Code ('Code Injection')

CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code (‘Eval Injection’)

Product status

Any version
affected

References

www.kb.cert.org/vuls/id/102648

github.com/keichi/binary-parser/pull/283

github.com/keichi/binary-parser

www.npmjs.com/package/binary-parser

kb.cert.org/vuls/id/102648

cve.org (CVE-2026-1245)

nvd.nist.gov (CVE-2026-1245)

Download JSON