CVE-2026-1245

Source
https://cve.org/CVERecord?id=CVE-2026-1245
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-1245.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-1245
Aliases
Published
2026-01-20T18:50:34.232Z
Modified
2026-07-15T01:49:15.385919011Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
CVE-2026-1245
Details

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.

Database specific
{
    "cna_assigner": "certcc",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/1xxx/CVE-2026-1245.json"
}
References

Affected packages

Git / github.com/keichi/binary-parser

Affected ranges

Type
GIT
Repo
https://github.com/keichi/binary-parser
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.3.0"
        }
    ],
    "cpe": "cpe:2.3:a:keichi:binary-parser:*:*:*:*:*:node.js:*:*",
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ]
}

Affected versions

0.*
0.0.1
0.0.2
0.0.3
0.0.4
0.0.5
1.*
1.0.0
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.2.0
1.3.0
1.3.1
1.3.2
v1.*
v1.3.3
v1.4.0
v1.6.2
v1.7.0
v1.8.0
v1.9.0
v1.9.1
v1.9.2
v2.*
v2.0.0
v2.0.1
v2.0.2
v2.0.3
v2.1.0
v2.2.0
v2.2.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-1245.json"