# CVE-2026-124040: CivetWeb through 1.16 HTTP/2 Use-After-Free via Stale Pseudo-Header State

- Severity: Critical 9.2 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 56% of CVEs (2026-12-01)
- Published: 2026-11-06T19:14:48.975Z
- Modified: 2026-11-11T05:19:35.630Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- civetweb civetweb: up to 1.16

## Every score

- VulnCheck: 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`
- VulnCheck: 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`

## References

- <https://github.com/civetweb/civetweb/issues/1379> (issue-tracking)
- <https://github.com/civetweb/civetweb> (product)
- <https://github.com/civetweb/civetweb/blob/v1.16/src/http2.inl#L1574-L1581> (technical-description)
- <https://www.vulncheck.com/advisories/civetweb-through-1.16-http-2-use-after-free-via-stale-pseudo-header-state> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-124040](https://www.cve.org/CVERecord?id=CVE-2026-124040), CVE Terms of Use, modified 2026-11-11
- NVD: [CVE-2026-124040](https://nvd.nist.gov/vuln/detail/CVE-2026-124040), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-124040 · Whole record: https://cve.day/CVE-2026-124040.json · Rebuilt by cve.day 2026-11-25T22:59:49.318Z
