Skip to content
OpenAdvisories
High · 8.1 Public exploit CVE-2026-124040 EUVD-2026-118441GHSA-wj2x-x5pc-4h8r

CivetWeb through 1.16 HTTP/2 Use-After-Free via Stale Pseudo-Header State

Published Nov 6, 2026 · Updated Nov 11, 2026 · Assigned by VulnCheck

Description

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.

Affected products

VendorProductAffectedFixed
civetweb civetweb ≤ 1.16 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 civetweb No fix yet —
Debian 13 civetweb No fix yet —
Debian 12 civetweb No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 civetweb No fix yet —
Ubuntu 26.04 LTS civetweb No fix yet —
Ubuntu 24.04 LTS civetweb No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS civetweb No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 ceph No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

References