{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-40608","published":"2026-04-21T18:16:52.280000Z","last_modified":"2026-10-26T22:10:00.163000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-770"],"cpes":[{"criteria":"cpe:2.3:a:dayuanjiang:next_ai_draw.io:*:*:*:*:*:*:*:*","part":"a","vendor":"dayuanjiang","product":"next_ai_draw.io","version_end_excluding":"0.4.15"}],"cpes_truncated":false,"vendors":["dayuanjiang"],"products":["dayuanjiang/next_ai_draw.io"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2026-40608/","html_en":"/en/cve/CVE-2026-40608/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-40608","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-40608"},"untrusted":{"vendor_name":"Dayuanjiang","product_name":"Next Ai Draw.io","desc_en":"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.","affected":[{"untrusted_vendor":"DayuanJiang","untrusted_product":"next-ai-draw-io","versions":[]}],"references":[{"url":"https://github.com/DayuanJiang/next-ai-draw-io/commit/31819f413cc4b329a1cb81e5fccd0cd98c1fd665","tags":["Patch"]},{"url":"https://github.com/DayuanJiang/next-ai-draw-io/security/advisories/GHSA-9q7h-wgfw-p378","tags":["Exploit","Mitigation","Vendor Advisory"]}]}}