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

- Severity: High 8.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-08-11T20:14:00.402Z
- Modified: 2026-09-24T20:32:04.063Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- civetweb civetweb: up to 4a4f0c95

## Every score

- VulnCheck: CVSS:4.0 8.3 High `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H`

## References

- <https://github.com/civetweb/civetweb> (product)
- <https://www.vulncheck.com/advisories/civetweb-heap-stack-buffer-overflow-via-websocket-permessage-deflate-decompression> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-29035](https://www.cve.org/CVERecord?id=CVE-2026-29035), CVE Terms of Use, modified 2026-08-14
- NVD: [CVE-2026-29035](https://nvd.nist.gov/vuln/detail/CVE-2026-29035), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-29035 · Whole record: https://cve.day/CVE-2026-29035.json · Rebuilt by cve.day 2026-11-25T22:59:32.517Z
