Vulnerability · Published Aug 11, 2026 · Assigned by VulnCheck

CVE-2026-29035CivetWeb Heap/Stack Buffer Overflow via WebSocket permessage-deflate Decompression

Medium 6.5

In plain English

A medium-severity out-of-bounds write in civetweb from civetweb. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities).

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.6%top 50.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12civetwebno fix listedDEBIAN-CVE-2026-29035
Debian:13civetwebno fix listedDEBIAN-CVE-2026-29035
Debian:14civetwebno fix listedDEBIAN-CVE-2026-29035
Ubuntu:22.04:LTScivetwebno fix listedUBUNTU-CVE-2026-29035
Ubuntu:24.04:LTScivetwebno fix listedUBUNTU-CVE-2026-29035
Ubuntu:26.04:LTScivetwebno fix listedUBUNTU-CVE-2026-29035

Affected products (as reported)

VendorProductVersions
civetweb civetweb 0 – through 4a4f0c95

Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H

References