CVE-2026-41242CWE-94code-injection

CVE-2026-41242

Critical · published April 18, 2026

CVSS v3.1
9.8
EPSS
1%
Percentile
62.2
In the wild
Unconfirmed
What it is

protobufjs compiles protobuf definitions into JavaScript (JS) functions. In versions prior to 8.0.1 and 7.5.5, attackers can inject arbitrary code in the "type" fields of protobuf definitions, which will then execute during object decoding using that definition. Versions 8.0.1 and 7.5.5 patch the issue.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00990 · 62.2th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-04-18T21:16Z
Affected products (2)
ProductVersionsFixed in
protobufjs_project/protobufjs< 7.5.57.5.5
protobufjs_project/protobufjsall versions—
References (13)
EPSS history
Timeline
  • 18 APR 16:18Z
    protobufjs has an arbitrary code execution issue
    cvelistv5