CVE Database
/

CVE-2026-41242

Back to search

CVE-2026-41242

Published: Apr 18, 2026

Modified: Apr 20, 2026

PUBLISHED

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.

VendorProductVersions

protobufjs

protobuf.js

affected
< 7.5.5
affected
>= 8.0.0-experimental, < 8.0.1

Weaknesses (CWE)

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now