CVE-2026-124040 Details
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.
A use-after-free vulnerability has been identified in CivetWeb versions through 1.16, when built with HTTP/2 support enabled. The vulnerability arises in the 'handle_http2()' function, which improperly manages the lifecycle of pseudo-header pointers, specifically ':method' and ':path'. This flaw allows unauthenticated remote attackers to send a HEADERS frame that omits these pseudo-headers, potentially manipulating the request method or path as interpreted by access rules. Alternatively, this could lead to a server crash.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/civetweb/civetweb | [email protected] | Source CodeVendor |
| https://github.com/civetweb/civetweb/blob/v1.16/src/http2.inl#L1574-L1581 | [email protected] | Source CodeVendor |
| https://github.com/civetweb/civetweb/issues/1379 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://www.vulncheck.com/advisories/civetweb-through-1.16-http-2-use-after-free-via-stale-pseudo-header-state | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| CivetWeb | <= 1.16 |
CPE
Remediation
| |
Change History
1 change record found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 6, 2026 | New CVE Received | [email protected] |
Volerion