CVE-2026-40608

Next AI Draw.io is a next.js web application that integrates AI capabilities with draw.io diagrams. Prior to 0.4.15, the embedded HTTP sidecar contains three POST handlers (/api/state, /api/restore, and /api/history-svg) that process incoming requests by accumulating the entire request body into a JavaScript string without any size limitations. Node.js buffers the entire payload in the V8 heap. Sending a sufficiently large body (e.g., 500 MiB or more) will exhaust the process heap memory, leading to an Out-of-Memory (OOM) error that crashes the MCP server. This vulnerability is fixed in 0.4.15.
Configurations

Configuration 1 (hide)

cpe:2.3:a:dayuanjiang:next_ai_draw.io:*:*:*:*:*:*:*:*

History

26 Oct 2026, 22:10

Type Values Removed Values Added
Summary
  • (es) Next AI Draw.io es una aplicación web next.js que integra capacidades de IA con diagramas de draw.io. Antes de la versión 0.4.15, el sidecar HTTP incrustado contiene tres manejadores POST (/API/state, /API/restore y /API/history-svg) que procesan las solicitudes entrantes acumulando el cuerpo completo de la solicitud en una cadena de JavaScript sin limitaciones de tamaño. Node.js almacena en búfer la carga útil completa en el heap de V8. Enviar un cuerpo suficientemente grande (por ejemplo, 500 MiB o más) agotará la memoria heap del proceso, lo que provocará un error de falta de memoria (OOM) que bloquea el servidor MCP. Esta vulnerabilidad se corrige en la versión 0.4.15.

Information

Published : 2026-04-21 18:16

Updated : 2026-10-26 22:10


NVD link : CVE-2026-40608

Mitre link : CVE-2026-40608

CVE.ORG link : CVE-2026-40608


JSON object : View

Products Affected

dayuanjiang

  • next_ai_draw.io
CWE
CWE-770

Allocation of Resources Without Limits or Throttling