llamaCVEVulnerability Intelligence
/
codebase-memory-mcp

CVE-2026-114494

codebase-memory-mcp stack buffer overflow in query_graph Cypher parsing

A low-privilege local user can crash it with a Cypher query containing more than 32 RETURN or WITH items.

Texto original en inglés · Ver en español

Solo en configuraciones específicasParche disponiblestack buffer overflow
Descargar PNG JSON
CVSS 3.1
7.8
Alta
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Fuente: CNA
ExplotaciónSin evidenciaSSVC: ninguna · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión0.9.0
Exposición1 dDesde la divulgación, 20 nov 2026, 2:53 p. m.
Detección8 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Sin explotación conocida, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Tu yo del futuro te agradecerá revisarla hoy.Como dice el refrán: más vale prevenir que restaurar backups.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada +1
Verificada
02:53 p. m.
03:01 p. m.
04:26 p. m.
03:54 p. m.
02:53 p. m.
09:08 p. m.
03:24 a. m.
09:39 a. m.
03:54 p. m.
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-114494 divulgada · CVSS 7.8 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 20 nov 2026

DeusData's codebase-memory-mcp has a stack out-of-bounds write in its query_graph tool, triggered by a Cypher query with more than 32 items in a RETURN or WITH clause. A local user with low privileges and no user action needed can use it to crash the software and potentially compromise its confidentiality and integrity.

Affects codebase-memory-mcp before 0.9.0 when a query_graph query has more than 32 projection items in a RETURN or WITH clause. Fixed in 0.9.0.

¿Qué significa?The Cypher parser did not limit the number of projection items, so a RETURN or WITH clause with more than 32 items writes past its stack arrays. This corrupts stack memory in the server process, causing a reliable crash and potentially worse outcomes depending on memory layout.
¿Quién está afectado?Versions before 0.9.0 are affected, in the setup where a query_graph query has more than 32 projection items in a RETURN or WITH clause. To check the version, look at the installed codebase-memory-mcp version.
¿Qué hacer?Upgrade codebase-memory-mcp to 0.9.0 or later, which is the fixed version.
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, the Cypher parser accepted an unbounded number of projection items in RETURN and WITH clauses while projection executors indexed fixed 32-element stack arrays using the parsed count. A query_graph query with more than 32 projection items could therefore write beyond those arrays, and a related result-column path could read uninitialized stack slots even when no node matched. Any caller of query_graph, including an agent whose query is influenced by untrusted content, could cause a reliable server crash and potentially compromise process confidentiality and integrity. This issue is fixed in version 0.9.0.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
codebase-memory-mcp before 0.9.0“Before 0.9.0 the Cypher parser did not bound the number of projection items”
02
A query_graph query with more than 32 projection items in a RETURN or WITH clause“A query with more than 32 projection items written through the query_graph tool wrote past those arrays.”
¿Quién debe revisar?Teams running codebase-memory-mcp before 0.9.0, including agent setups that call its query_graph tool.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:L
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
6.4/ 10Medio
Vector 6.4 (fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida
codebase-memory-mcp< 0.9.0
0.9.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
codebase-memory-mcp
Corregida 0.9.0 — —
Versiones corregidas0.9.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/DeusData/codebase-memory-mcp/security/advisories/GHSA-vpgh-g3jg-ggx9
Otrahttps://github.com/DeusData/codebase-memory-mcp/pull/941
Otrahttps://github.com/DeusData/codebase-memory-mcp/commit/e69e0844dbc1c737ebd3d17e97007d0f5cf16beb
Otrahttps://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.9.0

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.