GHSA-rv48-qqj5-crxg: Protobuf: Unbounded recursion depth in embedded-message decoding
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.
AI Analysis
Technical Summary
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.
GHSA-rv48-qqj5-crxg: Protobuf: Unbounded recursion depth in embedded-message decoding
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
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.