Security mailing lists by PureSourceCode

CVE-2026-1245

MEDIUM 6.5CVSS 3.1

binary-parser library has a code injection vulnerability

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
20 Jan 2026
Last modified
17 Jun 2026
Assigned by
cret@cert.org
NVD status
Analyzed
Weakness
CWE-94
Also known as
GHSA-m39p-34qh-rh3w
Sources
NVDJSONOSV GHSA-m39p-34qh-rh3wJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD keichi binary-parser
cpe:2.3:a:keichi:binary-parser:*:*:*:*:*:node.js:*:*
< 2.3.0 2.3.0
OSV npm binary-parser < 2.3.0 2.3.0

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 20 Jan 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Jan 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.