Skip to content
Vulnerability RCE CVE-2026-134814

Critical code injection in binary-parser before 2.3.1 (CVE-2026-134814)

binary-parser before 2.3.1 lets attackers who control parser definitions inject JavaScript through unvalidated string options.

Reported by The Hacker News

First reported Summary updated

Read the coverage
Public PoC
Not known
Exploited
Not known
CVSS
9.2 Critical

What happened

A critical code injection flaw was disclosed in the binary-parser library, tracked as CVE-2026-134814.1

The maintainer's advisory, released on 11 November 2026, said some user-controlled string options were placed directly into generated JavaScript without sufficient validation.1

The affected options are length, lengthInBytes, key, tag, offset and the alias passed to namely().1

The flaw can be seen as an incomplete fix for CVE-2026-1245, an earlier code injection issue fixed in January 2026.1

Who is affected

  • binary-parser, prior to 2.3.11

Is there a public exploit?

Not known None of the sources mentions public exploit code yet.

Exploited in the wild?

Not known None of the sources reports attacks using it so far.

What to do

  • Update to the latest version of the library.1
  • After the fix, these options are validated as identifier paths and expressions such as 'len - 1' are rejected, so use a function instead.1

For bug hunters

This is a code injection bug: attacker-controlled strings are concatenated into generated source that is then compiled and run. Similar flaws appear wherever programs build code, templates, queries or expressions from user input, such as report builders, rule engines, ORM query helpers and code generators. Look for inputs that end up in eval, new Function, template compilation or string-built queries, and try breaking out of the expected syntax with quotes, operators or property paths. Check whether validation is an allowlist of identifiers rather than a blocklist of characters.

What to test

  • Submit quotes, backticks and arithmetic operators in fields that feed generated code or expressions.
  • Try property-path payloads such as constructor or prototype chains where identifiers are expected.
  • Test whether expressions like 'a - 1' are rejected or evaluated in template and rule builders.
  • Check that validation is an allowlist of identifier paths, not a character blocklist.

The RCE lesson Every RCE report

Written by bugbounty.wiki with AI from its source. Every statement above comes with a quote we checked against the source it cites (the numbers link to it); anything we could not check was left out. It can still be wrong, so read the coverage before relying on a detail.

Coverage

The article this story is based on. Each headline opens the outlet's own article.

  1. 1

Reports about RCE

View all

Disclosed reports of the same bug class, clearest first.

More news

View all

Other stories from the last month, RCE first.