CVE-2026-35480
Full vulnerability record from the local CVENow database.
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.
Severity
MEDIUM
CVSS score
6.2
(v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-04-07 15:17:45.117000
Last modified
2026-10-26 22:10:00.163000
View original CVE JSON
{
"id": "CVE-2026-35480",
"sourceIdentifier": "[email protected]",
"published": "2026-04-07T15:17:45.117",
"lastModified": "2026-10-26T22:10:00.163",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "go-ipld-prime es una implementación de las interfaces de especificación de InterPlanetary Linked Data (IPLD), implementaciones de códecs de IPLD con todo incluido para CBOR y JSON, y herramientas para operaciones básicas en objetos IPLD. Antes de la versión 0.22.0, el decodificador DAG-CBOR utiliza los tamaños de colección declarados en las cabeceras CBOR como sugerencias de preasignación de Go para mapas y listas. El decodificador no limita estas sugerencias de tamaño ni tiene en cuenta su coste en su presupuesto de asignación, lo que permite que pequeñas cargas útiles causen una asignación excesiva de memoria. Esta vulnerabilidad se corrige en la versión 0.22.0."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "ipld",
"product": "go-ipld-prime",
"versions": [
{
"version": "< 0.22.0",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"baseScore": 6.2,
"baseSeverity": "MEDIUM",
"attackVector": "LOCAL",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 2.5,
"impactScore": 3.6
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-04-09T14:40:02.350803Z",
"id": "CVE-2026-35480",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-770"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:protocol:go-ipld-prime:*:*:*:*:*:go:*:*",
"versionEndExcluding": "0.22.0",
"matchCriteriaId": "FCF11469-E3FB-49A2-B216-41682DEAB4E7"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-378j-3jfj-8r9f",
"source": "[email protected]",
"tags": [
"Vendor Advisory"
]
}
]
}