cve.bz

CVE-2026-29035 civetweb civetweb: Out-of-bounds Write

8.3 highEPSS 0.6%

High (8.3) in civetweb civetweb. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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

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
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 50th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-08-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-29035 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-29035?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-29035?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-29035 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
civetwebthrough 4a4f0c95

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14civetwebno fix listedDEBIAN-CVE-2026-29035

From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated Important because unauthenticated remote attackers can exploit a heap and stack buffer overflow in CivetWeb, potentially leading to denial of service or arbitrary code execution. Exploitation requires the `USE_ZLIB` and `MG_EXPERIMENTAL_INTERFACES` features to be enabled, which are not default configurations in Red Hat products.

Red Hat's mitigation

To mitigate this vulnerability, ensure that CivetWeb is compiled without the `USE_ZLIB` and `MG_EXPERIMENTAL_INTERFACES` flags enabled. If CivetWeb is deployed as a library, applications linking against it should avoid enabling these experimental WebSocket features. Disabling these features prevents the vulnerable code path from being active.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-29035.

References

Check your stackJSON