GHSA-wj2x-x5pc-4h8rCriticalCVSS 8.1
CivetWeb through 1.16, when built with USE_HTTP2 and enable_http2 on, contains a use-after-free...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-124040
- 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
- https://github.com/advisories/GHSA-wj2x-x5pc-4h8r