CVE-2026-114495
codebase-memory-mcp heap buffer overflow in artifact import decompression
A malicious repository's crafted artifact can corrupt memory when indexed, causing a crash or possible code execution.
Texto original en inglés · Ver en español
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-114495 divulgada · CVSS 7.8 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
DeusData's codebase-memory-mcp has a heap buffer overflow when it automatically imports a repository's .codebase-memory/ artifact. A local attacker with no login can trigger it if a user indexes a malicious repository containing a crafted artifact, which corrupts memory and causes a reliable crash or potentially code execution.
Descripción original del registro (GitHub_M)
codebase-memory-mcp provides local code intelligence for developers and AI agents through a persistent graph and MCP tools. Prior to 0.9.0, automatic import of a repository's .codebase-memory/ artifact allocated a decompression buffer using the attacker-controlled 64-bit original_size value from artifact.json but truncated that value to int when passing the destination capacity to the Zstandard decompressor. A value with bit 31 set became negative and was sign-extended to a large size_t, allowing the decompressor to write frame content beyond the actual allocation. Indexing a malicious repository containing the crafted artifact could corrupt heap memory with attacker-controlled bytes, causing a reliable crash and potentially code execution. This issue is fixed in version 0.9.0.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
codebase-memory-mcp |
Corregida | 0.9.0 | — | — |
0.9.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/DeusData/codebase-memory-mcp/security/advisories/GHSA-8xwq-xv2x-853rhttps://github.com/DeusData/codebase-memory-mcp/pull/941https://github.com/DeusData/codebase-memory-mcp/commit/a2f09c7ce97205147f127c2c8b12861bf74a02a3https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.9.0Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
