{"id":"CVE-2026-29035","published":"2026-08-11T20:14:00Z","modified":"2026-08-14T16:49:40Z","title":"CivetWeb Heap/Stack Buffer Overflow via WebSocket permessage-deflate Decompression","vendor":"civetweb","product":"civetweb","tier":"tail","description":{"text":"CivetWeb (commit 4a4f0c95) contains a heap and stack buffer overflow vulnerability in the read_websocket() function that allows unauthenticated remote attackers to corrupt memory by sending compressed WebSocket frames when both USE_ZLIB and MG_EXPERIMENTAL_INTERFACES are defined. Attackers can negotiate permessage-deflate during the WebSocket handshake and send a crafted frame with the RSV1 bit set, causing the server to write a 4-byte zlib sync trailer out-of-bounds past the allocated buffer, leading to heap metadata corruption, denial of service, or potential code execution.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00612,"percentile":0.50249,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://github.com/civetweb/civetweb","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/civetweb-heap-stack-buffer-overflow-via-websocket-permessage-deflate-decompression","tags":["third-party-advisory"]}],"priority":{"score":14.6,"factors":[{"name":"EPSS percentile","points":10.05},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"civetweb","affectedVersions":[{"vendor":"civetweb","product":"civetweb","versions":["<= 4a4f0c95"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-12T16:03:53.941493Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-56944","exploited":false,"provenance":"source"}}