CVE-2026-134814keichi binary-parser Code Injection
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 9.2 (CRITICAL)
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityHigh
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 8.1)
CVSS v3.1 Base Metrics — Score 8.1 (HIGH)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- keichi binary-parser < 2.3.1
- keichi binary-parser 2.3.1
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is critical.
- Check whether you run keichi binary-parser and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 22, 2026Published
- Nov 22, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new keichi binary-parser CVEsYou are reading CVE-2026-134814. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Vendor Advisoryhttps://github.com/keichi/binary-parser/security/advisories/GHSA-xmxc-6c22-m377
- Patchhttps://github.com/keichi/binary-parser/commit/110206bb126a80071158fb0e2e3d7cc658f2bfe4
- Patchhttps://github.com/keichi/binary-parser/commit/4b26e04c396253e704ad8e41b928d9e31316f62e
- Referencehttps://github.com/keichi/binary-parser/blob/v2.3.0/lib/binary_parser.ts#L26-L35
- Referencehttps://www.vulncheck.com/advisories/binary-parser-before-2.3.1-code-injection-via-string-typed-parser-options
Data last checked: Nov 22, 2026 21:22 UTC