CVE-2026-124040: Vulnerability in Civetweb
Critical. 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.
CWE-416
- Exploitation
- None confirmed
- Severity
- 9.2 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-wj2x-x5pc-4h8r
- Vector
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Weakness
- CWE-416
- Published
- 6 Nov 2026
- Last change
- 11 Nov 2026
Affected products
Affected versions and the first fixed release
- Civetweb Through 1.16; Version 0 ≤1.16. No fixed version recorded
Advisories
Vendor and security advisories
- github.com/civetweb/civetweb/issues/1379
- github.com/civetweb/civetweb
- github.com/civetweb/civetweb/blob/v1.16/src/http2.inl
- vulncheck.com/advisories/civetweb-through-1.16-http-2-use-after-free-via-stale-pseudo-h...
Related
- Civetweb vulnerabilities Recent advisories, watch this product