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…

GHSA-rv48-qqj5-crxg: Protobuf: Unbounded recursion depth in embedded-message decoding

0
High
Published: 07/15/2026 (07/15/2026, 17:44:28 UTC)
Source: GCVE Database
Product: protobuf

Description

An unbounded recursion vulnerability exists in the Protobuf.Decoder of the Elixir protobuf package (versions >=0.8.0 and <0.16.1). This flaw allows an unauthenticated attacker to send crafted protobuf messages with deeply nested self-referential or cyclic message types, causing the decoder to recurse without limit. The recursion exhausts memory and CPU resources, leading to denial of service by crashing or severely degrading the affected node.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Affected software

Hexghsa
protobuf
Affected versions
>=0.8.0 <0.16.1

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, 14:17:37 UTC

Technical Analysis

The Elixir protobuf package's decoder recursively processes embedded message fields without limiting recursion depth. For schemas with self-referential or cyclic message types, an attacker can craft protobuf messages that nest embedded fields to extreme depths. Each recursion level consumes stack and heap memory, and since the recursion is not in tail position, frames accumulate until memory exhaustion or scheduler starvation occurs. Unlike reference protobuf implementations that cap recursion at 100 levels, this decoder imposes no such limit, enabling denial of service via resource exhaustion. The fix involves adding a recursion depth counter that raises an error when exceeding a configurable limit (default 100).

Potential Impact

This vulnerability enables unauthenticated, network-accessible attackers to cause a denial of service on any service decoding attacker-controlled protobuf messages with self-referential or cyclic schemas. A single crafted request can consume significant CPU time and hundreds of megabytes of memory, and a few concurrent requests can take the node offline by exhausting system resources.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vendor advisory describes a fix that adds a recursion depth limit to prevent unbounded recursion. Until a fixed version is released, consider rejecting or limiting deeply nested protobuf messages at the application level if possible.

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

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-rv48-qqj5-crxg
Osv Schema Version
1.4.0
Aliases
["CVE-2026-54451"]
Ecosystems
["Hex"]
Database Specific Severity
HIGH
Cvss Version
4.0

Threat ID: 6a58b50768715ace43db2994

Added to database: 07/16/2026, 10:40:07 UTC

Last enriched: 07/16/2026, 14:17:37 UTC

Last updated: 07/16/2026, 14:17:37 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