CVE-2026-29035
published high CVSS 4.0 · 8.3CivetWeb Heap/Stack Buffer Overflow via WebSocket permessage-deflate Decompression
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| civetweb | — | civetweb0 through 4a4f0c95 · Other versions: affected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.3 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.5 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| civetweb | civetweb | 0 through 4a4f0c95 (affected · custom)Default: affected | VulnCheck · cna |
Weaknesses
1- CWE-787 Out-of-bounds Write
References
2- Product Repository https://github.com/civetweb/civetweb
- https://www.vulncheck.com/advisories/civetweb-heap-stack-buffer-overflow-via-websocket-permessage-deflate-decompression
Provider assertions
2VulnCheck · cna
CivetWeb Heap/Stack Buffer Overflow via WebSocket permessage-deflate Decompression
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1e64c69710ebc61917050df5aefcd7606ba71e9ae985c2e7fe8efee191591fcb
- Ingested
- 23 Sep 2026, 09:08:32 UTC
- Source record
- Official CVE record