CVE-2026-124040
CivetWeb through 1.16 HTTP/2 Use-After-Free via Stale Pseudo-Header State
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used 9.2
CivetWeb through 1.16 HTTP/2 Use-After-Free via Stale Pseudo-Header State
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.
- Record
CVE-2026-124040- CVSS 4.0
- 9.2 Critical
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 - CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-416
- Updated
- 2026-11-11
EUVDEUVD-2026-118441 9.2
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.
- Record
EUVD-2026-118441- CVSS 4.0
- 9.2 Critical
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 - Updated
- 2026-11-07
GitHub AdvisoriesGHSA-wj2x-x5pc-4h8r 9.2
CivetWeb through 1.16, when built with USE_HTTP2 and enable_http2 on, contains a use-after-free...
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.
- Record
GHSA-wj2x-x5pc-4h8r- CVSS 4.0
- 9.2 Critical
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-416
- Updated
- 2026-11-06
NVD 9.2
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.
- Record
CVE-2026-124040- CVSS 4.0
- 9.2 Critical
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-416
- Updated
- 2026-11-11
OSV 9.2
CivetWeb through 1.16 HTTP/2 Use-After-Free via Stale Pseudo-Header State
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.
- Record
CVE-2026-124040- CVSS 4.0
- 9.2 Critical
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
- Updated
- 2026-11-08
OSVDEBIAN-CVE-2026-124040 9.2
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.
- Record
DEBIAN-CVE-2026-124040- CVSS 4.0
- 9.2 Critical
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-11
OSVUBUNTU-CVE-2026-124040 9.2
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.
- Record
UBUNTU-CVE-2026-124040- CVSS 4.0
- 9.2 Critical
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 - CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-10
OSVAZL-113116No score
CVE-2026-124040 affecting package ceph 18.2.2-13
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.
- Record
AZL-113116- Updated
- 2026-11-11
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
cephAzure Linux:3 | through 18.2.2-13 | None known |
civetwebDebian:12 | All versions, plus listed versions 1.15+dfsg-41.16+dfsg-11.16+dfsg-21.16+dfsg-31.16+dfsg-41.16+dfsg-51.16+dfsg-6 | None known |
civetwebDebian:13 | All versions, plus listed versions 1.16+dfsg-21.16+dfsg-2+deb13u11.16+dfsg-31.16+dfsg-41.16+dfsg-51.16+dfsg-6 | None known |
civetwebDebian:14 | All versions, plus listed versions 1.16+dfsg-21.16+dfsg-31.16+dfsg-41.16+dfsg-51.16+dfsg-6 | None known |
civetwebUbuntu:Pro:22.04:LTS | All versions, plus listed versions 1.13+dfsg-51.15+dfsg-11.15+dfsg-31.15+dfsg-3ubuntu0.1~esm1 | None known |
civetwebUbuntu:24.04:LTS | All versions, plus listed versions 1.16+dfsg-11.16+dfsg-1build11.16+dfsg-1ubuntu0.1 | None known |
civetwebUbuntu:26.10 | All versions, plus listed versions 1.16+dfsg-31.16+dfsg-4 | None known |
civetwebUbuntu:26.04:LTS | All versions, plus listed versions 1.16+dfsg-21.16+dfsg-31.16+dfsg-3ubuntu0.1 | None known |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | zeetee1235/CVE-2026-124040 | 2026-11-08 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | CVE List, NVD, OSV | |
| affected, aliases, references | OSV | |
| exploits, facts | OSV, PoC in GitHub | |
| affected, aliases, references | OSV | |
| references | OSV | |
| published | EUVD | |
| published | EUVD, NVD | |
| aliases, references | GitHub Advisories | |
| cwes, references, severity, title | CVE List | |
| first indexed | EUVD |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-124040 is a critical vulnerability (CVSS 9.2) in Civetweb, published November 6, 2026. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.51%, the 44th percentile. No source names a fixed version.
References
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-header-state
nvd.nist.gov/vuln/detail/CVE-2026-124040
github.com/advisories/GHSA-wj2x-x5pc-4h8r