CVE-2026-41242
Last modified
CVE-2026-41242 is a critical-severity vulnerability rated 9.4/10 on the CVSS scale. 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. EPSS estimates a 0.57% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Protobufjs Project | Protobufjs | < 7.5.5 |
| Protobufjs Project | Protobufjs | 8.0.0 |
References
- https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v7.5.5Product, Release Notes
- https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.0.1Product, Release Notes
- https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-xq3m-2v4x-88ggExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-41242?
How severe is CVE-2026-41242?
How do I fix CVE-2026-41242?
Are you affected by CVE-2026-41242?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
