CVE-2026-35480: CWE-770: Allocation of Resources Without Limits or Throttling in ipld go-ipld-prime
go-ipld-prime is an implementation of the InterPlanetary Linked Data (IPLD) spec interfaces, a batteries-included codec implementations of IPLD for CBOR and JSON, and tooling for basic operations on IPLD objects. Prior to 0.22.0, the DAG-CBOR decoder uses collection sizes declared in CBOR headers as Go preallocation hints for maps and lists. The decoder does not cap these size hints or account for their cost in its allocation budget, allowing small payloads to cause excessive memory allocation. This vulnerability is fixed in 0.22.0.
AI Analysis
Technical Summary
The go-ipld-prime library, implementing IPLD specifications, had a vulnerability (CWE-770) where the DAG-CBOR decoder would use declared collection sizes in CBOR headers as Go preallocation hints for maps and lists without capping these sizes or managing their memory allocation budget. This flaw allowed attackers to cause excessive memory allocation from crafted small payloads. The vulnerability affects versions before 0.22.0 and was addressed by limiting or properly managing these allocations in version 0.22.0.
Potential Impact
This vulnerability can cause excessive memory allocation leading to denial of service conditions due to resource exhaustion. It does not impact confidentiality or integrity but affects availability by potentially crashing or slowing down applications using vulnerable versions of go-ipld-prime.
Mitigation Recommendations
Upgrade to go-ipld-prime version 0.22.0 or later, where this vulnerability is fixed. No other mitigations are documented. Patch status is confirmed fixed in version 0.22.0.
CVE-2026-35480: CWE-770: Allocation of Resources Without Limits or Throttling in ipld go-ipld-prime
Description
go-ipld-prime is an implementation of the InterPlanetary Linked Data (IPLD) spec interfaces, a batteries-included codec implementations of IPLD for CBOR and JSON, and tooling for basic operations on IPLD objects. Prior to 0.22.0, the DAG-CBOR decoder uses collection sizes declared in CBOR headers as Go preallocation hints for maps and lists. The decoder does not cap these size hints or account for their cost in its allocation budget, allowing small payloads to cause excessive memory allocation. This vulnerability is fixed in 0.22.0.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The go-ipld-prime library, implementing IPLD specifications, had a vulnerability (CWE-770) where the DAG-CBOR decoder would use declared collection sizes in CBOR headers as Go preallocation hints for maps and lists without capping these sizes or managing their memory allocation budget. This flaw allowed attackers to cause excessive memory allocation from crafted small payloads. The vulnerability affects versions before 0.22.0 and was addressed by limiting or properly managing these allocations in version 0.22.0.
Potential Impact
This vulnerability can cause excessive memory allocation leading to denial of service conditions due to resource exhaustion. It does not impact confidentiality or integrity but affects availability by potentially crashing or slowing down applications using vulnerable versions of go-ipld-prime.
Mitigation Recommendations
Upgrade to go-ipld-prime version 0.22.0 or later, where this vulnerability is fixed. No other mitigations are documented. Patch status is confirmed fixed in version 0.22.0.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-02T20:49:44.453Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d51c3eaaed68159a2c1617
Added to database: 4/7/2026, 3:01:18 PM
Last enriched: 4/15/2026, 12:30:41 PM
Last updated: 5/22/2026, 8:10:47 PM
Views: 49
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.
External Links
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.