Bug 2581327 (CVE-2026-134814)

Summary: CVE-2026-134814 binary-parser: binary-parser: Code injection via string-typed parser options
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerability-draftAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in binary-parser. String-typed parser options are passed unvalidated by Context.generateOption(), so an attacker who controls parser definitions can inject JavaScript through crafted length, lengthInBytes, key, tag, offset, or namely() alias values. When the parser is compiled, that input executes as arbitrary JavaScript in the Node.js process. Affected versions: before 2.3.1. Fixed in 2.3.1.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-22 21:34:44 UTC
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.