Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessOpen HTTP/2 connection to server
-
DeliverySend initial HEADERS with pseudo-headers
-
ExploitSend later HEADERS omitting :method/:path
-
ExecutionTrigger use-after-free on stale pointers
-
ImpactBypass access rules or crash server
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target to be built with the USE_HTTP2 compile-time option AND to have the enable_http2 runtime setting turned on - HTTP/2 support in CivetWeb through 1.16 is experimental and not enabled by default, which is the primary limiting factor and sharply narrows the vulnerable population. Given those conditions, no authentication is needed (PR:N) and the attack is remote over the network (AV:N): the attacker sends a later HEADERS frame that omits the :method and :path pseudo-headers so handle_http2() acts on freed pointers. Further limiting realistic exploitation is the high attack complexity / attack requirement (AC:H/AT:P in the supplied vector), indicating a specific frame-sequencing condition rather than a trivially repeatable single request. |
| Impact | Signals conflict and must be weighed carefully. The CVSS 4.0 base score of 9.2 (Critical) and VulnCheck's 'act_now' decision label argue for urgency, and the flaw is network-reachable with no authentication (AV:N, PR:N, UI:N) and claims high confidentiality, integrity, and availability impact. However, two metrics temper this: AC:H (high attack complexity) and AT:P (a specific attack requirement), consistent with a use-after-free that depends on a precise HEADERS-frame ordering to act on freed :method/:path pointers. Critically, exploitation is gated on a non-default build and configuration - CivetWeb must be compiled with USE_HTTP2 and run with enable_http2 on; HTTP/2 in CivetWeb through 1.16 is experimental and off by default, so the realistic exposed population is far smaller than the Critical score implies. No EPSS score, no CISA KEV listing, and no confirmed working exploit code were provided, so there is no evidence of active or widespread exploitation; the strongest third-party signal is a VulnCheck advisory and the upstream GitHub issue. Net: this is a genuinely serious memory-corruption bug for the subset of deployments that enabled experimental HTTP/2, but for the typical CivetWeb deployment (HTTP/2 disabled) real-world risk is low. Treat as high priority only where HTTP/2 is compiled in and enabled; otherwise it is a high-CVSS, low-real-exposure issue pending confirmation of exploitation data. |
| Exploit ScenarioDerived | An unauthenticated remote attacker opens an HTTP/2 connection to a CivetWeb server that was built with USE_HTTP2 and has enable_http2 turned on. The attacker sends a request whose later HEADERS frame omits the :method and :path pseudo-headers, causing handle_http2() to dereference previously freed pointers; this can make access rules evaluate a stale method/path (potentially bypassing path- or method-based access controls) or crash the server. No public working exploit code is confirmed in the provided data, though a VulnCheck advisory and the upstream issue describe the flaw. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 06, 2026
Use-after-free in CivetWeb through 1.16's experimental HTTP/2 handling allows unauthenticated remote attackers to crash the server or influence the request method and path evaluated by access rules when the build uses USE_HTTP2 and enable_http2 is on. Exploitation requires a later HEADERS frame that omits the :method and :path pseudo-headers, a specific frame-sequencing condition reflected in the high attack-complexity scores, so the vulnerable population is narrow because HTTP/2 is not enabled by default. The issue is prioritized act_now by vuln.today; no CISA KEV listing or public exploit code is present in the supplied data, and no public exploit was identified at time of analysis.
RemediationAI
Patch availability is not confirmed in the supplied data and no fixed release version is listed. The direct compensating control is to disable the experimental HTTP/2 path: set enable_http2 off at runtime and, where possible, rebuild CivetWeb without the USE_HTTP2 compile-time option; this removes exposure to handle_http2() but forfeits HTTP/2 multiplexing and forces clients onto HTTP/1.1. Track the vendor issue at https://github.com/civetweb/civetweb/issues/1379, the source reference at https://github.com/civetweb/civetweb/blob/v1.16/src/http2.inl#L1574-L1581, and the VulnCheck advisory at https://www.vulncheck.com/advisories/civetweb-through-1.16-http-2-use-after-free-via-stale-pseudo-header-state for a fixed release, and apply the vendor's patched version as soon as it is published.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CivetWeb is an embeddable C web server; its HTTP/2 implementation lives in src/http2.inl and handle_http2() at lines 1574-1581 retains pointers to freed :method and :path pseudo-header values. The flaw is CWE-416 (use-after-free): after those header fields are freed, a subsequent HEADERS frame that omits them causes the handler to read stale pointers, which can alter the method/path seen by access-control logic or crash the process. The CPE cpe:2.3:a:civetweb:civetweb:*:*:*:*:*:*:*:* covers all versions through 1.16, but exposure is conditional on the USE_HTTP2 compile-time option and the enable_http2 runtime setting; HTTP/2 is experimental and not enabled by default. The supplied CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N) and the independent CVSS 3.1 assessment (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) both describe network-reachable, unauthenticated exploitation with high confidentiality, integrity and availability impact, while the AC:H/AT:P values reflect the required frame-sequencing condition rather than a trivial single request.
Know when Civetweb gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Remote and unauthenticated (AV:N/PR:N/UI:N); AC:H because it needs a specific HEADERS-frame sequence against freed pointers; access-rule influence yields C:H/I:H and the crash gives A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
CVE-2026-124040, a critical vulnerability in CivetWeb when its experimental HTTP/2 support is enabled, could allow unauthenticated remote attackers to crash servers or bypass access rules. Affected systems are at risk of service disruption and potential policy circumvention. Leadership should verify whether any production services rely on this non-default HTTP/2 feature.
Disable HTTP/2 at the server or reverse proxy level; restrict network access to affected services; monitor for anomalous HEADERS frames or crash patterns.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Buffer Overflow in the URI parser of CivetWeb 1.14 through 1.16 (latest) allows a remote attacker to achieve remote code
Local privilege escalation in CivetWeb v1.16 service allows authenticated users to execute arbitrary code with SYSTEM pr
Heap and stack buffer overflow in CivetWeb's read_websocket() function (through commit 4a4f0c95) allows unauthenticated
A flaw was found in the way civetweb frontend was handling requests for ceph RGW server with SSL enabled. Rated high sev
Out-of-bounds Read in the send_ssi_file function in civetweb.c in CivetWeb through 1.10 allows attackers to cause a Deni
CivetWeb through 1.16, only when compiled with USE_HTTP2 and configured with enable_http2, contains a heap out-of-bounds
EUVD-2026-118441
GHSA-wj2x-x5pc-4h8r
NVD
CVE.org
EPSS
VulDB
Exploit-DB