Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 67%

CVE-2026-54270: CWE-770: Allocation of Resources Without Limits or Throttling in protobufjs protobuf.js

0
Medium
VulnerabilityCVE-2026-54270cvecve-2026-54270cwe-770
Published: 06/22/2026 (06/22/2026, 16:19:20 UTC)
Source: CVE Database V5
Vendor/Project: protobufjs
Product: protobuf.js

Description

protobufjs compiles protobuf definitions into JavaScript (JS) functions. From 8.2.0 to 8.4.2, protobufjs preserved unknown wire elements in message.$unknowns and did not provide a decode-time option to discard unknown fields before retaining them. A crafted protobuf payload containing many unknown fields could therefore cause a decoded message to retain substantially more memory than the input size would suggest, even when unknown-field round-tripping is not needed. protobufjs 8.5.0 added the relevant decode-time options, allowing applications that decode untrusted protobuf data to disable unknown-field retention during decode. protobufjs 8.6.2 flips the default so unknown fields are discarded unless explicitly opted into.

CVSS v3.1

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected software

protobufjs/protobuf.js
pkg:npm/protobufjs/protobuf.js
Affected versions
>=8.2.0 <=8.4.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/16/2026, 10:51:29 UTC

Technical Analysis

The vulnerability in protobuf.js (CVE-2026-54270) involves allocation of resources without limits or throttling (CWE-770). Specifically, versions 8.2.0 through 8.4.2 retain unknown protobuf fields in memory during decoding, which can lead to excessive memory usage when processing crafted payloads containing many unknown fields. Starting with version 8.5.0, options were introduced to disable retention of unknown fields, and in version 8.6.2 the default behavior was changed to discard unknown fields unless explicitly retained. This vulnerability affects the availability of systems using affected versions by increasing memory consumption but does not affect confidentiality or integrity.

Potential Impact

Excessive memory consumption can occur when processing specially crafted protobuf payloads with many unknown fields, potentially leading to denial of service due to resource exhaustion. There is no impact on confidentiality or integrity of data.

Mitigation Recommendations

Users should upgrade to protobuf.js version 8.5.0 or later, where options exist to disable retention of unknown fields, or preferably to version 8.6.2 or later, where the default behavior discards unknown fields unless explicitly retained. Patch status is not explicitly confirmed in the advisory, but upgrading to these versions effectively mitigates the issue.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-12T17:13:32.279Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a39735beed863c81e39624c

Added to database: 06/22/2026, 17:39:39 UTC

Last enriched: 07/16/2026, 10:51:29 UTC

Last updated: 08/04/2026, 13:33:12 UTC

Views: 59

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses