CVE-2026-134814
CRITICAL 9.2CVSS 4.0binary-parser before 2.3.1 Code Injection via String-Typed Parser Options
binary-parser before 2.3.1 contains a code injection vulnerability that allows attackers controlling parser definitions to inject JavaScript through string-typed options passed unvalidated by Context.generateOption(). Attackers can supply crafted length, lengthInBytes, key, tag, offset, or namely() alias values to execute arbitrary JavaScript in the Node.js process when the parser is compiled.
- Published
- 22 Nov 2026
- Last modified
- 28 Nov 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-94
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | CRITICAL 9.2 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | VulnCheck | CVSS 4.0 | CRITICAL 9.2 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CVE List | VulnCheck | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | keichi | binary-parser | < 2.3.1 | 2.3.1 |
References
- https://github.com/keichi/binary-parser/blob/v2.3.0/lib/binary_parser.ts#L26-L35 · technical-description
- https://github.com/keichi/binary-parser/commit/110206bb126a80071158fb0e2e3d7cc658f2bfe4 · patch
- https://github.com/keichi/binary-parser/commit/4b26e04c396253e704ad8e41b928d9e31316f62e · patch
- https://github.com/keichi/binary-parser/security/advisories/GHSA-xmxc-6c22-m377 · vendor-advisory
- https://www.vulncheck.com/advisories/binary-parser-before-2.3.1-code-injection-via-string-typed-parser-options · third-party-advisory
History
- 28 Nov 2026 05:10 UTC · NVD: updated (other details)
- 28 Nov 2026 03:10 UTC · CVE List: updated (other details)
- 25 Nov 2026 20:33 UTC · CVE List: first stored (published 22 Nov 2026)
- 25 Nov 2026 20:11 UTC · NVD: first stored (published 22 Nov 2026)