Code injection in binary-parser
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| binary-parser | binary-parser | before 2.3.0 | 2.3.0 | Patch available | CNA |
| — | binary-parser (npm) | before 2.3.0 | 2.3.0 | Patch available | GHSA-m39p-34qh-rh3w |
- binary-parser Vendorbinary-parser Affected before 2.3.0 Fixed in 2.3.0 Patch available CNA
- binary-parser (npm) Vendor— Affected before 2.3.0 Fixed in 2.3.0 Patch available GHSA-m39p-34qh-rh3w
Remediation
- Fix · CNA binary-parser (binary-parser) Fixed in 2.3.0
- Fix · GHSA-m39p-34qh-rh3w binary-parser (npm) Fixed in 2.3.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-1245
- 2026-10-03 Alias added: GHSA-m39p-34qh-rh3w
References
Advisory 3
Sources
- CVE-2026-1245 · CVE Program
- CVE-2026-1245 · NVD
- FIRST EPSS
- GHSA-m39p-34qh-rh3w · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences