p PatchFirst

CVE-2026-124040

CVE-2026-124040 · CivetWeb through 1.16 HTTP/2 Use-After-Free via Stale Pseudo-Header State

CVSS 9.2 · Critical · EPSS 0.7% · Public exploit

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 through 1.16, when built with USE_HTTP2 and enable_http2 on, contains a use-after-free vulnerability in handle_http2() that retains freed :method and :path pointers. Unauthenticated remote attackers can send a later HEADERS frame omitting these pseudo-headers to influence request method or path seen by access rules, or crash the server.

Published
Updated

Stack: system

Affected products and versions

  • civetweb

    Versions
    • ≥ 0, ≤ 1.16: 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

  • civetweb Ubuntu Pro 22.04 LTS

    Versions
    • 1.13+dfsg-5
    • 1.15+dfsg-1
    • 1.15+dfsg-3
    • 1.15+dfsg-3ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • civetweb Ubuntu 24.04 LTS

    Versions
    • 1.16+dfsg-1
    • 1.16+dfsg-1build1
    • 1.16+dfsg-1ubuntu0.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • civetweb Ubuntu 26.10

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

    No fix published

  • civetweb Ubuntu 26.04 LTS

    Versions
    • 1.16+dfsg-2
    • 1.16+dfsg-3
    • 1.16+dfsg-3ubuntu0.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →