llamaCVEVulnerability Intelligence
/
Advisory · GitHub · PyPI · lmcache

GHSA-799H-GJJF-WFM7

LMCache RESP client can exhaust memory on unterminated server response

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

Parche disponible
Descargar PNG JSON
CVSS
—
medium
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versionesPrimer parche a -6 d de la divulgación
Exposición3 dDesde la divulgación, 18 nov 2026, 2:42 p. m.
Detección11 hDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir
Remediar en la ventana regular de mantenimiento
Estimación de Llama con el árbol SSVC de CISA a partir de la severidad declarada por GHSA (media) y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Rumio tranquila, pero no me olvido de esta.Sin drama: ventana de mantenimiento y listo.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Parche 0.5.7.post1
Monitoreo
Detectada +1
12 nov 26
18 nov 26
19 nov 26
21 nov 26
12 nov 26
15 nov 26
17 nov 26
19 nov 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche 0.5.7.post1 lmcache · -6 d desde divulgación
Divulgación Publicada GHSA-799H-GJJF-WFM7 divulgada
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés
Summary

The C++ RESP client reads a response line without a maximum length. A server reached through a configured resp:// endpoint can send data without CRLF indefinitely, causing unbounded memory growth and process-level denial of service. Moderate severity; exploitation requires control or interception of the configured Redis endpoint. redis:// deployments using redis-py are not affected.

Details

In csrc/redis/resp.cpp, WorkerConn::recv_line() reads one byte at a time and appends it to std::string until CRLF, with no size limit. This is called while authenticating a RESP connection. A malicious endpoint can respond to AUTH with a continuous stream lacking CRLF, causing the client to keep allocating memory. See Jira report LM-944 for the original reproduction and call path.

Proof of concept

Configure LMCache to use a resp:// endpoint with authentication. Point it at a TCP server that accepts the AUTH command and continuously sends bytes without a CRLF terminator. The RESP client's recv_line() continues appending the response; observe steadily increasing process memory until the connection closes or the process is terminated. The Jira report includes a Python socket-based reproduction of the same unbounded-read algorithm.

Impact

An attacker able to control or intercept the Redis server endpoint used by an LMCache deployment can cause the client process to consume unbounded memory and become unavailable or be killed by the OOM killer. This affects deployments using the C++ resp:// protocol path; redis:// connections using redis-py are not affected. The report identifies denial of service as the supported impact; no evidence establishes code execution.

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

Versiones

Rangos afectados

Afectada Corregida Última
lmcache< 0.5.7
0.5.7.post1
0.5.7
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypilmcache
Corregida 0.5.7.post1 -6 d 0.5.7.post1 no afectada
Versiones corregidas0.5.7.post10.5.7
Explotación

Arsenal público

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

Referencias
Advisoryhttps://github.com/LMCache/LMCache/security/advisories/GHSA-799h-gjjf-wfm7

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