Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
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://www.vulncheck.com/advisories/civetweb-through-1.16-http-2-use-after-free
FAQ
What is CVE-2026-124040?
CVE-2026-124040 is a vulnerability with a CVSS score of 8.1 (HIGH). 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 at...
How severe is CVE-2026-124040?
CVE-2026-124040 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-124040?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.