PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-124040 civetweb CVE debrief

CVE-2026-124040 is a critical use-after-free vulnerability in CivetWeb versions up to 1.16 when built with HTTP/2 support. Unauthenticated attackers can exploit this to crash servers or influence request handling. The vulnerability exists in the handle_http2() function, which improperly handles :method and :path pseudo-headers in HTTP/2 requests. This can lead to use-after-free conditions when a HEADERS frame omitting these pseudo-headers is sent. Defenders of systems using CivetWeb, especially those with HTTP/2 enabled, should assess exposure and prioritize patching. The CVE record was published on 2026-11-06T19:14:48.975Z and has not been modified since then.

Vendor
civetweb
Product
Unknown
CVSS
CRITICAL 9.2
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-06
Original CVE updated
2026-11-11
Advisory published
2026-11-06
Advisory updated
2026-11-11

Who should care

Defenders of systems using CivetWeb, especially those with HTTP/2 enabled, should assess exposure and prioritize patching. This includes reviewing the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance. They should also plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.

Why it matters

CVE-2026-124040 is a critical vulnerability in CivetWeb that can lead to server crashes or influence request handling. Defenders of systems using CivetWeb, especially with HTTP/2 enabled, should assess exposure and prioritize patching.

  • Potential for server crashes or instability
  • Possible influence on request method or path seen by access rules
  • Need for verification of affected scope and inventory checks
  • Priority for patching and compensating controls

Technical summary

The vulnerability exists in the handle_http2() function of CivetWeb, which improperly handles :method and :path pseudo-headers in HTTP/2 requests. This can lead to use-after-free conditions when a HEADERS frame omitting these pseudo-headers is sent. The function retains freed pointers to these pseudo-headers, allowing unauthenticated attackers to crash servers or influence request handling. The CVE record and NIST NVD detail page provide additional context on the vulnerability and its impact. Defenders should prioritize patching and verifying affected systems.

Defensive priority

High priority for patching and verifying affected systems

Recommended defensive actions

  • Patch CivetWeb installations to version 1.17 or later
  • Verify affected systems are not exposed to untrusted networks
  • Monitor for unusual server behavior or crashes
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The vulnerability exists in the handle_http2() function, which retains freed pointers to :method and :path pseudo-headers. This can be exploited by sending a HEADERS frame omitting these pseudo-headers. The CVE Program record provides official CVE metadata, while the NIST NVD detail page offers source-specific vulnerability assessment. GitHub issue #1379 and the CivetWeb GitHub repository provide additional context.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-124040 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-124040

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-124040 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-124040

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • CivetWeb through 1.16 HTTP/2 Use-After-Free via Stale Pseudo-Header State

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/124xxx/CVE-2026-124040.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/civetweb/civetweb/issues/1379

    Supplemental source - issue-tracking

  • Source reference

    Unverified legacy reference

    URL: https://github.com/civetweb/civetweb

    Supplemental source - product

  • Source reference

    Unverified legacy reference

    URL: https://github.com/civetweb/civetweb/blob/v1.16/src/http2.inl

    Supplemental source - technical-description

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/civetweb-through-1.16-http-2-use-after-free-via-stale-pseudo-header-state

    Supplemental source - third-party-advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.