p PatchFirst

CVE-2026-29035

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

CVSS 8.3 · High · EPSS 0.6%

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="civetweb"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • civetweb

    Versions
    • ≥ 0, ≤ 4a4f0c95: Affected (custom)

    No fix published

  • civetweb Debian 12

    Versions
    • 1.15+dfsg-4
    • 1.16+dfsg-1
    • 1.16+dfsg-2
    • 1.16+dfsg-3
    • 1.16+dfsg-4
    • 1.16+dfsg-5
    All versions (7)
    • 1.16+dfsg-6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • civetweb Debian 13

    Versions
    • 1.16+dfsg-2
    • 1.16+dfsg-2+deb13u1
    • 1.16+dfsg-3
    • 1.16+dfsg-4
    • 1.16+dfsg-5
    • 1.16+dfsg-6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • civetweb Debian 14

    Versions
    • 1.16+dfsg-2
    • 1.16+dfsg-3
    • 1.16+dfsg-4
    • 1.16+dfsg-5
    • 1.16+dfsg-6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →