New CVE Detected

CVE-2026-124040 – HTTP/2 Use-After-Free – CivetWeb through 1.16 (HTTP/2 enabled)

Get a free Attack Surface scan to see if you’re exposed.

Be the first to know when new zero-days emerge:

Summary

CVE-2026-124040 is a use-after-free vulnerability (CWE-416) in the HTTP/2 handling of CivetWeb through version 1.16. It affects builds compiled with USE_HTTP2 that run with enable_http2 turned on. The CVE record rates it CVSS v4.0 9.2 (Critical) and CVSS v3.1 8.1 (High).

Technical details

  • Root cause: handle_http2() retains freed :method and :path pointers. The stale pseudo-header state persists after the memory has been released.
  • Trigger conditions: The CivetWeb build must include HTTP/2 support (USE_HTTP2) and the enable_http2 option must be enabled. The CVE record rates attack complexity as high.
  • Attack vector: Network, with no authentication or user interaction required. An attacker sends subsequent HTTP/2 HEADERS frames that omit the :method and :path pseudo-headers.
  • Impact: Per the CVE record, an attacker can manipulate the request method or path the server perceives. This can bypass access controls or crash the server. The CVSS vectors rate confidentiality, integrity and availability impact as High.
  • Status of public details: The issue was reported upstream (GitHub issue #1379), where the reporter withheld technical details. No public exploit was identified during research.

Affected software

  • CivetWeb, all versions through 1.16, when built with USE_HTTP2 and run with enable_http2 on.

Severity

  • CVSS v4.0: 9.2 (Critical), 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
  • CVSS v3.1: 8.1 (High), CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Mitigation and recommended actions

  • Immediate: Upgrade to a CivetWeb release newer than 1.16 once one containing a fix is available. The upstream issue did not show a confirmed fix when reviewed, so verify the fix status against the vendor repository.
  • Workaround: Disable HTTP/2 by setting enable_http2 to off, or build without USE_HTTP2.
  • Network mitigation: Where HTTP/2 cannot be disabled, restrict exposure of affected CivetWeb listeners, or place them behind a front-end proxy that terminates HTTP/2 itself.
  • Identify embedded CivetWeb instances in your products and confirm whether HTTP/2 is enabled.

References

Get a free Attack Surface scan to see if you’re exposed.

Get a free Attack Surface scan to see if you’re exposed.

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge