CVE-2026-40608

MEDIUM CVSS 3.1: 5.5 EPSS 0.15%
Updated Oct 27, 2026
Dayuanjiang
Parameter Value
CVSS 5.5 (MEDIUM)
Affected Versions before 0.4.15
Fixed In 0.4.15
Type CWE-770 (Allocation Without Limits)
Vendor Dayuanjiang
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Dayuanjiang Next_Ai_Draw.Io
cpe:2.3:a:dayuanjiang:next_ai_draw.io:*:*:*:*:*:*:*:*
— 0.4.15

Related Vulnerabilities