# CVE-2026-1245: CVE-2026-1245

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 52% of CVEs (2026-12-01)
- Published: 2026-01-20T18:50:34.232Z
- Modified: 2026-06-17T10:15:23.183Z
- Also known as: GHSA-m39p-34qh-rh3w
- Weaknesses: CWE-94, CWE-95
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: certcc

## 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.

(As written by CVE List.)

## Affected

- binary-parser binary-parser: before 2.3.0
- binary-parser (npm): before 2.3.0
- keichi binary-parser: before 2.3.0

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/keichi/binary-parser/pull/283> (patch, web)
- <https://github.com/keichi/binary-parser> (package, product)
- <https://www.npmjs.com/package/binary-parser> (product, web)
- <https://kb.cert.org/vuls/id/102648> (third-party-advisory, web)
- <https://www.kb.cert.org/vuls/id/102648> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-1245> (advisory)
- <https://www.cve.org/CVERecord?id=CVE-2026-1245> (web)

## Sources

- CVE List: [CVE-2026-1245](https://www.cve.org/CVERecord?id=CVE-2026-1245), CVE Terms of Use, modified 2026-01-21
- GitHub Advisory Database: [GHSA-m39p-34qh-rh3w](https://github.com/advisories/GHSA-m39p-34qh-rh3w), CC-BY-4.0, modified 2026-02-03
- NVD: [CVE-2026-1245](https://nvd.nist.gov/vuln/detail/CVE-2026-1245), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-1245 · Whole record: https://cve.day/CVE-2026-1245.json · Rebuilt by cve.day 2026-11-25T22:59:12.980Z
