---
title: "CVE-2026-124040: CivetWeb - Use After Free"
description: "CivetWeb through 1.16 contains a use-after-free vulnerability caused by retaining freed :method and :path pointers in handle_http2(), letting unauthenticated remote attackers influence request method/path or crash the server, exploit requires HTTP/2 enabled."
url: https://panop.io/threat-heartbeat/CVE-2026-124040/
---

# CVE-2026-124040 CivetWeb - Use After Free

CivetWeb through 1.16 contains a use-after-free vulnerability caused by retaining freed :method and :path pointers in handle\_http2(), letting unauthenticated remote attackers influence request method/path or crash the server, exploit requires HTTP/2 enabled.

CVSS base score 8.1 /10

High

CISA KEV

Not listed

Public exploit

Proof of concept available

Authentication

Not required

EPSS

0.51% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-124040)

## Details

Type

Use After Free

Impact

Denial Of Service, Broken Access Control

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Published

6 November 2026

Updated

9 November 2026

Weakness

[CWE-416](https://cwe.mitre.org/data/definitions/416.html)

## Vendor fix

Update to the latest version beyond 1.16 where this issue is fixed.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-124040](https://nvd.nist.gov/vuln/detail/CVE-2026-124040)
- [https://github.com/civetweb/civetweb](https://github.com/civetweb/civetweb)
- [https://github.com/civetweb/civetweb/blob/v1.16/src/http2.inl#L1574-L1581](https://github.com/civetweb/civetweb/blob/v1.16/src/http2.inl#L1574-L1581)
- [https://github.com/civetweb/civetweb/issues/1379](https://github.com/civetweb/civetweb/issues/1379)
- [https://www.vulncheck.com/advisories/civetweb-through-1.16-http-2-use-after-free-via-stale-pseudo-header-state](https://www.vulncheck.com/advisories/civetweb-through-1.16-http-2-use-after-free-via-stale-pseudo-header-state)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
