{"id":"CVE-2026-124040","summary":"CivetWeb through 1.16 HTTP/2 Use-After-Free via Stale Pseudo-Header State","details":"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.","modified":"2026-11-12T02:30:46.563877419Z","published":"2026-11-06T19:14:48.975Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-416"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124040.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124040.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-124040"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/civetweb-through-1.16-http-2-use-after-free-via-stale-pseudo-header-state"},{"type":"REPORT","url":"https://github.com/civetweb/civetweb/issues/1379"},{"type":"PACKAGE","url":"https://github.com/civetweb/civetweb"},{"type":"ARTICLE","url":"https://github.com/civetweb/civetweb/blob/v1.16/src/http2.inl#L1574-L1581"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/civetweb/civetweb","events":[{"introduced":"0"},{"last_affected":"d7ba35bbb649209c66e582d5a0244ba988a15159"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"1.16"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"DESCRIPTION","range":[{"introduced":"0"},{"last_affected":"1.16"}]}]}}],"versions":["v1.16","v1.15","v1.14","v1.13","v1.11","v1.10","v1.9.1","v1.9","v1.8","v1.7","v1.6","v1.5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-124040.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}