CVE-2026-29035 CivetWeb Heap/Stack Buffer Overflow via WebSocket permessage-deflate Decompression
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Debian
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.
Upgrade path
4 packages: 1 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/civetweb(Debian 12) | = 1.15+dfsg-4; = 1.16+dfsg-1; = 1.16+dfsg-2; = 1.16+dfsg-3 +4 more | No fix listed | No fix yet |
| debian/civetweb(Debian 13) | = 1.16+dfsg-2; = 1.16+dfsg-2+deb13u1; = 1.16+dfsg-3; = 1.16+dfsg-4 +3 more | No fix listed | No fix yet |
| debian/civetweb(Debian 14) | = 1.16+dfsg-2; = 1.16+dfsg-3; = 1.16+dfsg-4; = 1.16+dfsg-5 +2 more | No fix listed | No fix yet |
| civetweb | <= 4a4f0c95 | after 4a4f0c95 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| civetweb | <= 4a4f0c95 | No fix listed |
| debian/civetweb(Debian:12) | All versions | No fix listed |
| debian/civetweb(Debian:12) | = 1.15+dfsg-4 | No fix listed |
| debian/civetweb(Debian:12) | = 1.16+dfsg-1 | No fix listed |
| debian/civetweb(Debian:12) | = 1.16+dfsg-2 | No fix listed |
| debian/civetweb(Debian:12) | = 1.16+dfsg-3 | No fix listed |
| debian/civetweb(Debian:12) | = 1.16+dfsg-4 | No fix listed |
| debian/civetweb(Debian:12) | = 1.16+dfsg-5 | No fix listed |
| debian/civetweb(Debian:12) | = 1.16+dfsg-6 | No fix listed |
| debian/civetweb(Debian:13) | All versions | No fix listed |
| debian/civetweb(Debian:13) | = 1.16+dfsg-2 | No fix listed |
| debian/civetweb(Debian:13) | = 1.16+dfsg-2+deb13u1 | No fix listed |
| debian/civetweb(Debian:13) | = 1.16+dfsg-3 | No fix listed |
| debian/civetweb(Debian:13) | = 1.16+dfsg-4 | No fix listed |
| debian/civetweb(Debian:13) | = 1.16+dfsg-5 | No fix listed |
| debian/civetweb(Debian:13) | = 1.16+dfsg-6 | No fix listed |
| debian/civetweb(Debian:14) | All versions | No fix listed |
| debian/civetweb(Debian:14) | = 1.16+dfsg-2 | No fix listed |
| debian/civetweb(Debian:14) | = 1.16+dfsg-3 | No fix listed |
| debian/civetweb(Debian:14) | = 1.16+dfsg-4 | No fix listed |
| debian/civetweb(Debian:14) | = 1.16+dfsg-5 | No fix listed |
| debian/civetweb(Debian:14) | = 1.16+dfsg-6 | No fix listed |
References
- Product Repository product
- www.vulncheck.com third-party-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2514388 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-29035 vendor-advisory
- ENISA EUVD EUVD-2026-56944 third-party-advisory