llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · openclaw

GHSA-X2G4-7MJ7-2HHJ

OC-65: overflow compaction retry counter reset after truncation amplifies bounded retry/cost cycles

Parche disponible
Descargar PNG JSON
CVSS
—
low
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión>=2026.2.21
Exposición273 dDesde la divulgación, 21 feb 2026, 1:16 p. m.
Detección271 dDesde 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 (baja) 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.
Mis gafas de sol dicen que todo bien.Si todo fuera así, el SOC dormiría ocho horas.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada +1
21 feb 26
19 nov 26
21 nov 26
21 feb 26
1 may 26
8 jul 26
14 sept 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-X2G4-7MJ7-2HHJ 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

Vulnerability

`overflowCompactionAttempts` could be reset after successful tool-result truncation, allowing additional overflow recovery retries beyond the intended global budget.

This was previously described as unbounded/infinite compaction. Code review confirmed the loop is bounded, but the reset still increases retry/cost amplification in worst-case overflow scenarios.

Affected Packages / Versions

  • Package: `openclaw` (npm)
  • Affected versions: `>=2026.2.9` and `<=2026.2.19-2`
  • First affected release: `2026.2.9`
  • Latest affected release at triage time: `2026.2.19-2`
  • Planned patched version: `2026.2.21`

Impact

  • Bounded API cost amplification from extra overflow recovery retries.
  • Increased model/API calls in adversarial overflow inputs.
  • No confirmed infinite loop in this path.

Technical Details

In `src/agents/pi-embedded-runner/run.ts`, successful tool-result truncation reset the overflow retry counter (`overflowCompactionAttempts = 0`) while `toolResultTruncationAttempted` remained one-shot. This preserved eventual termination, but expanded retry budget after truncation.

Remediation

  • Keep overflow retry budgeting global across truncation recovery.
  • Do not reset `overflowCompactionAttempts` after truncation.
  • Add regression test for truncation-success followed by persistent overflow.

Fix Commit(s)

  • `084f6210255da3ad3f2129ccfcfc84a094e10094`
  • `b577228d6ba3a924c2b788100779b6098ea70b21`

Release Process Note

`patched_versions` is pre-set to planned next release `>=2026.2.21`. After npm publish of that version, the advisory can be published without further content edits.

Thanks @aether-ai-agent for reporting.

Versiones

Rangos afectados

Afectada Corregida
openclaw< >=2026.2.21
>=2026.2.21
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmopenclaw
Corregida >=2026.2.21 — —
Versiones corregidas>=2026.2.21
Explotación

Arsenal público

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

Referencias
Advisoryhttps://github.com/openclaw/openclaw/security/advisories/GHSA-x2g4-7mj7-2hhj

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