CVE-2026-124040 is a critical use-after-free vulnerability in CivetWeb versions up to 1.16 when built with HTTP/2 support. Unauthenticated attackers can exploit this to crash servers or influence request handling. The vulnerability exists in the handle_http2() function, which improperly handles :method and :path pseudo-headers in HTTP/2 requests. This can lead to use-after-free conditions when a HEADERS frame omitting these pseudo-headers is sent. Defenders of systems using CivetWeb, especially those with HTTP/2 enabled, should assess exposure and prioritize patching. The CVE record was published on 2026-11-06T19:14:48.975Z and has not been modified since then.
CVE-2026-29035 is a high-severity heap and stack buffer overflow vulnerability in the read_websocket() function of CivetWeb. This vulnerability allows unauthenticated remote attackers to corrupt memory by sending compressed WebSocket frames when both USE_ZLIB and MG_EXPERIMENTAL_INTERFACES are defined. Attackers can exploit this by negotiating permessage-deflate during the WebSocket handshake and sending a crafted frame with the RSV1 bit set. This causes 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. Defenders should prioritize verifying exposure and assess