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…

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

protobuf.js versions from 8.2.0 to 8.4.2 retained unknown protobuf fields in memory without an option to discard them during decoding. This behavior could lead to excessive memory use when processing crafted payloads with many unknown fields. Version 8.5.0 introduced options to disable unknown-field retention, and 8.6.2 changed the default to discard unknown fields unless explicitly enabled.

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: 06/22/2026, 17:55:55 UTC

Technical Analysis

The protobuf.js library versions 8.2.0 through 8.4.2 preserved unknown wire elements in the message.$unknowns property without providing a decode-time option to discard these unknown fields. This could cause a decoded message to consume significantly more memory than the input payload size, constituting an allocation of resources without limits or throttling (CWE-770). Starting in version 8.5.0, decode-time options were added to allow disabling unknown-field retention, and in 8.6.2 the default behavior was changed to discard unknown fields unless explicitly opted into, mitigating this issue.

Potential Impact

An attacker can craft protobuf payloads containing many unknown fields that cause the protobuf.js decoder to retain large amounts of memory, potentially leading to denial of service due to excessive memory consumption. There is no impact on confidentiality or integrity, only availability due to resource exhaustion.

Mitigation Recommendations

Upgrade protobuf.js to version 8.5.0 or later to gain decode-time options to disable unknown-field retention. For best protection, use version 8.6.2 or later, where unknown fields are discarded by default unless explicitly enabled. Patch status is not explicitly confirmed by the vendor advisory, but these version changes indicate remediation. Check the protobuf.js project releases for official patch details.

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: 06/22/2026, 17:55:55 UTC

Last updated: 06/22/2026, 20:22:12 UTC

Views: 3

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