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

Published Aug 11, 2026
·
Updated

CivetWeb (commit 4a4f0c95) contains a heap and stack buffer overflow vulnerability in the readwebsocket() function that allows unauthenticated remote attackers to corrupt memory by sending compressed WebSocket frames when both USEZLIB and MGEXPERIMENTALINTERFACES 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 Software

1 affected component
CivetWeb CivetWeb

Event History

Aug 11, 2026
CVE Published
via MITRE·08:14 PM
Data Sourced
via MITRE·08:14 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-29035?

CVE-2026-29035 has a medium severity rating of 6.5.

2

How do I fix CVE-2026-29035?

To mitigate CVE-2026-29035, update CivetWeb to a version that addresses the heap and stack buffer overflow vulnerability.

3

What type of attacks does CVE-2026-29035 allow?

CVE-2026-29035 allows unauthenticated remote attackers to exploit a buffer overflow vulnerability via malformed WebSocket frames.

4

What components of CivetWeb are affected by CVE-2026-29035?

CVE-2026-29035 affects the read_websocket() function specifically when both USE_ZLIB and MG_EXPERIMENTAL_INTERFACES are enabled.

5

Is user interaction required to exploit CVE-2026-29035?

No, CVE-2026-29035 can be exploited without any user interaction as it targets unauthenticated access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203