CVE-2026-41242

CRITICAL EPSS 43.1%
Published Apr 18, 20262mo ago · Modified Jun 17, 20262w ago
9.4 CVSS 4.0
Critical
Find Similar
Published Apr 18, 2026 2mo ago
Last Modified Jun 17, 2026 2w ago

Description

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.

CVSS Details

Base Score
9.4
Exploitability
Impact
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/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
Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope X

Threat Intelligence

EPSS Exploit Probability
43.1% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-94 Improper Control of Generation of Code (Code Injection) Injection

Affected Products 2

VendorProductVersionRange
protobufjs_projectprotobufjs* <7.5.5
protobufjs_projectprotobufjs8.0.0any

References 5

  • github.com https://github.com/protobufjs/protobuf.js/commit/535df444ac060243722ac5d672db205e5c531d75
    Patch
  • github.com https://github.com/protobufjs/protobuf.js/commit/ff7b2afef8754837cc6dc64c864cd111ab477956
    Patch
  • github.com https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v7.5.5
    ProductRelease Notes
  • github.com https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.0.1
    ProductRelease Notes
  • github.com https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-xq3m-2v4x-88gg
    ExploitVendor Advisory

Remediation

  • github.com https://github.com/protobufjs/protobuf.js/commit/535df444ac060243722ac5d672db205e5c531d75
    Patch
  • github.com https://github.com/protobufjs/protobuf.js/commit/ff7b2afef8754837cc6dc64c864cd111ab477956
    Patch