PatchSiren cyber security CVE debrief
CVE-2026-54270 protobufjs CVE debrief
CVE-2026-54270 is a vulnerability in Protobufjs, a JavaScript library for compiling protobuf definitions. From versions 8.2.0 to 8.4.2, Protobufjs preserved unknown wire elements in message.$unknowns without a decode-time option to discard them. This could lead to a significant increase in memory usage when decoding untrusted protobuf data. The issue was addressed in Protobufjs 8.5.0 with the addition of decode-time options and changed defaults in 8.6.2.
- Vendor
- protobufjs
- Product
- protobuf.js
- CVSS
- MEDIUM 5.3
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-06-22
- Original CVE updated
- 2026-06-24
- Advisory published
- 2026-06-22
- Advisory updated
- 2026-06-24
Who should care
Developers and maintainers of applications using Protobufjs for decoding untrusted protobuf data should be aware of this vulnerability. This includes those in environments where memory exhaustion could have significant impacts, such as in cloud services or data processing pipelines.
Technical summary
The vulnerability arises from Protobufjs's handling of unknown fields in protobuf messages. Prior to version 8.5.0, unknown wire elements were preserved in message.$unknowns without an option to discard them at decode time. This could lead to memory exhaustion attacks via crafted protobuf payloads. The fix involves adding decode-time options to control unknown field retention, with 8.6.2 changing the default behavior to discard unknown fields unless explicitly opted into.
Defensive priority
Medium priority should be given to updating Protobufjs to version 8.5.0 or later, especially for applications decoding untrusted protobuf data. Immediate action is recommended for high-risk environments.
Recommended defensive actions
- Update Protobufjs to version 8.5.0 or later.
- Review application code for decode-time option usage.
- Test updates in a controlled environment.
- Monitor for unusual memory usage patterns.
- Consider compensating controls for high-risk environments.
Evidence notes
The CVE and NVD provide official details on the vulnerability. The Protobufjs project has addressed the issue with version updates. Limited information is available on known affected scope or specific exploitation attempts.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-54270 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-54270
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-54270 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-54270
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-94rc-8x27-4472
[email protected] - Mitigation, Vendor Advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.