CVE Explorer
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"description":"CWE-94 Improper Control of Generation of Code ('Code Injection')","lang":"en"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d86c6c91dc27cb68634ca41a68d21485386c067d7774faadfde0b08332a8eeac · sha256:a9aa58459ff14e0d… · /containers/cna/problemTypes/0/descriptions/0
{"description":"CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code (‘Eval Injection’)","lang":"en"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d86c6c91dc27cb68634ca41a68d21485386c067d7774faadfde0b08332a8eeac · sha256:a9aa58459ff14e0d… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"binary-parser","vendor":"binary-parser","versions":[{"lessThan":"2.3.0","status":"affected","version":"0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:d86c6c91dc27cb68634ca41a68d21485386c067d7774faadfde0b08332a8eeac · sha256:a9aa58459ff14e0d… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:d86c6c91dc27cb68634ca41a68d21485386c067d7774faadfde0b08332a8eeac · sha256:a9aa58459ff14e0d… · /containers/adp/1/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"description":"CWE-94 Improper Control of Generation of Code ('Code Injection')","lang":"en"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d86c6c91dc27cb68634ca41a68d21485386c067d7774faadfde0b08332a8eeac · sha256:a9aa58459ff14e0d… · /containers/cna/problemTypes/0/descriptions/0
{"description":"CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code (‘Eval Injection’)","lang":"en"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d86c6c91dc27cb68634ca41a68d21485386c067d7774faadfde0b08332a8eeac · sha256:a9aa58459ff14e0d… · /containers/cna/problemTypes/1/descriptions/0
Source references
5 source assertions{"url":"https://github.com/keichi/binary-parser"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d86c6c91dc27cb68634ca41a68d21485386c067d7774faadfde0b08332a8eeac · sha256:a9aa58459ff14e0d… · /containers/cna/references/1
{"url":"https://github.com/keichi/binary-parser/pull/283"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d86c6c91dc27cb68634ca41a68d21485386c067d7774faadfde0b08332a8eeac · sha256:a9aa58459ff14e0d… · /containers/cna/references/0
{"url":"https://kb.cert.org/vuls/id/102648"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d86c6c91dc27cb68634ca41a68d21485386c067d7774faadfde0b08332a8eeac · sha256:a9aa58459ff14e0d… · /containers/cna/references/3
{"url":"https://www.kb.cert.org/vuls/id/102648"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d86c6c91dc27cb68634ca41a68d21485386c067d7774faadfde0b08332a8eeac · sha256:a9aa58459ff14e0d… · /containers/adp/0/references/0
{"url":"https://www.npmjs.com/package/binary-parser"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d86c6c91dc27cb68634ca41a68d21485386c067d7774faadfde0b08332a8eeac · sha256:a9aa58459ff14e0d… · /containers/cna/references/2
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.