CVE-2026-124040CivetWeb 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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | civetweb | Fix pending | UBUNTU-CVE-2026-124040 | |
| Ubuntu 26.04 | civetweb | Under investigation | UBUNTU-CVE-2026-124040 | |
| Ubuntu 24.04 | civetweb | Under investigation | UBUNTU-CVE-2026-124040 | |
| Ubuntu 22.04 | civetweb | Fix pending | UBUNTU-CVE-2026-124040 | |
| Debian 14 | civetweb | Fix pending | DEBIAN-CVE-2026-124040 | |
| Debian 13 | civetweb | Fix pending | DEBIAN-CVE-2026-124040 | |
| Debian 12 | civetweb | Fix pending | DEBIAN-CVE-2026-124040 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- civetweb: affected: up to 1.16
References
- https://github.com/civetweb/civetweb/issues/1379
- https://github.com/civetweb/civetweb
- https://github.com/civetweb/civetweb/blob/v1.16/src/http2.inl#L1574-L1581
- https://www.vulncheck.com/advisories/civetweb-through-1.16-http-2-use-after-free-via-stale-pseudo-header-state
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.