
CVE catalog
CVE-2026-124040
civetweb affected and fixed versions
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.
- Severity
- Critical · CVSS 9.2
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 - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.51% · Nov 19, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiantrixie | civetweb | Not reported | AffectedDistribution reports no fix | [CVE-2026-124040] |
| Debiantrixie | civetweb | 1.16+dfsg-2+deb13u1 | Affected | [CVE-2026-124040] |
| Debiansid | civetweb | Not reported | AffectedDistribution reports no fix | [CVE-2026-124040] |
| Debiansid | civetweb | 1.16+dfsg-6 | Affected | [CVE-2026-124040] |
| Ubuntupro | civetweb | 1.13+dfsg-5 | Affected | [UBUNTU-CVE-2026-124040] |
| Ubuntupro | civetweb | 1.15+dfsg-1 | Affected | [UBUNTU-CVE-2026-124040] |
| Ubuntupro | civetweb | 1.15+dfsg-3 | Affected | [UBUNTU-CVE-2026-124040] |
| Ubuntupro | civetweb | 1.15+dfsg-3ubuntu0.1~esm1 | Affected | [UBUNTU-CVE-2026-124040] |
| Debianforky | civetweb | Not reported | AffectedDistribution reports no fix | [CVE-2026-124040] |
| Debianforky | civetweb | 1.16+dfsg-6 | Affected | [CVE-2026-124040] |
| Debianbookworm | civetweb | Not reported | AffectedDistribution reports no fix | [CVE-2026-124040] |
| Debianbookworm | civetweb | 1.15+dfsg-4 | Affected | [CVE-2026-124040] |
More observations (8)
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Ubuntu24.04 | civetweb | 1.16+dfsg-1 | Affected | [UBUNTU-CVE-2026-124040] |
| Ubuntu24.04 | civetweb | 1.16+dfsg-1build1 | Affected | [UBUNTU-CVE-2026-124040] |
| Ubuntu24.04 | civetweb | 1.16+dfsg-1ubuntu0.1 | Affected | [UBUNTU-CVE-2026-124040] |
| Ubuntu26.04 | civetweb | 1.16+dfsg-2 | Affected | [UBUNTU-CVE-2026-124040] |
| Ubuntu26.04 | civetweb | 1.16+dfsg-3 | Affected | [UBUNTU-CVE-2026-124040] |
| Ubuntu26.04 | civetweb | 1.16+dfsg-3ubuntu0.1 | Affected | [UBUNTU-CVE-2026-124040] |
| Ubuntu26.10 | civetweb | 1.16+dfsg-3 | Affected | [UBUNTU-CVE-2026-124040] |
| Ubuntu26.10 | civetweb | 1.16+dfsg-4 | Affected | [UBUNTU-CVE-2026-124040] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [civetweb]Affected
Details (2)
1.15+dfsg-4· amd64 · bookwormAffected
dsa · civetweb · debian · bookworm; pypi · civetweb · debian · 12
1.15+dfsg-4· arm64 · bookwormAffected
dsa · civetweb · debian · bookworm; pypi · civetweb · debian · 12
- [libcivetweb1]Affected
Source package: [civetweb]
Details (2)
1.15+dfsg-4· amd64 · bookwormAffected
dsa · civetweb · debian · bookworm; pypi · civetweb · debian · 12
1.15+dfsg-4· arm64 · bookwormAffected
dsa · civetweb · debian · bookworm; pypi · civetweb · debian · 12
- [libcivetweb-dev]Affected
Source package: [civetweb]
Details (2)
1.15+dfsg-4· amd64 · bookwormAffected
dsa · civetweb · debian · bookworm; pypi · civetweb · debian · 12
1.15+dfsg-4· arm64 · bookwormAffected
dsa · civetweb · debian · bookworm; pypi · civetweb · debian · 12
[Debian 13 (Trixie)]
- [civetweb]Affected
Details (2)
1.16+dfsg-2+deb13u1· amd64 · trixieAffected
pypi · civetweb · debian · 13
1.16+dfsg-2+deb13u1· arm64 · trixieAffected
pypi · civetweb · debian · 13
- [libcivetweb1]Affected
Source package: [civetweb]
Details (2)
1.16+dfsg-2+deb13u1· amd64 · trixieAffected
pypi · civetweb · debian · 13
1.16+dfsg-2+deb13u1· arm64 · trixieAffected
pypi · civetweb · debian · 13
- [libcivetweb-dev]Affected
Source package: [civetweb]
Details (2)
1.16+dfsg-2+deb13u1· amd64 · trixieAffected
pypi · civetweb · debian · 13
1.16+dfsg-2+deb13u1· arm64 · trixieAffected
pypi · civetweb · debian · 13
Observed:
References
- [https://github.com/civetweb/civetweb]
- [https://github.com/civetweb/civetweb/blob/v1.16/src/http2.inl#L1574-L1581]
- [https://github.com/civetweb/civetweb/issues/1379]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-124040]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-124040]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-124040]
- [https://security-tracker.debian.org/tracker/CVE-2026-124040]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-124040.json]
- [https://www.vulncheck.com/advisories/civetweb-through-1.16-http-2-use-after-free-via-stale-pseudo-header-state]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]