CVE-2026-42530: NGINX HTTP/3 Use-After-Free Code Execution Vulnerability
NGINX Open Source contains a vulnerability in its HTTP/3 (QUIC) module that allows remote attackers to trigger a crash in worker processes by sending specially crafted HTTP/3 session packets. Under specific conditions—particularly on systems without ASLR protection or where ASLR has been bypassed—attackers may achieve code execution. The flaw stems from improper memory management when handling QPACK encoder streams, creating a use-after-free condition that can be exploited without authentication.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 8.1 HIGH · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses (CWE)
- CWE-416
- Affected products
- 6 configuration(s)
- Published / Modified
- 2026-06-17 / 2026-07-16
NVD description (verbatim)
NGINX Open Source has a vulnerability in the ngx_http_v3_module module. When NGINX Open Source is configured to use the HTTP/3 QUIC module, a remote unauthenticated attacker along with conditions beyond their control can use a specially crafted HTTP/3 session to reopen a QPACK encoder stream. This may cause a Use-after-Free in the NGINX worker process leading to a restart. Additionally, attackers can execute code on systems with Address Space Layout Randomization (ASLR) disabled or when the attacker can bypass ASLR. Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
5 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The vulnerability exists in the ngx_http_v3_module component of NGINX Open Source and affects the HTTP/3 QUIC protocol handler. The root cause is a use-after-free condition (CWE-416) triggered when an attacker crafts an HTTP/3 session that causes the QPACK encoder stream to be reopened improperly. This leads to memory being accessed after it has been freed, causing the worker process to crash. On systems where ASLR is disabled or can be circumvented, the attacker gains control over the freed memory region, enabling arbitrary code execution in the context of the NGINX worker process. The vulnerability requires specific conditions beyond the attacker's direct control but is exploitable over the network without requiring authentication or user interaction.
Business impact
Organizations running NGINX Open Source with HTTP/3 QUIC support enabled face availability risk through denial-of-service attacks that restart worker processes. More critically, on systems with insufficient memory protections (disabled ASLR), this becomes a remote code execution vulnerability allowing attackers to execute arbitrary commands with NGINX worker privileges. This could lead to compromise of served content, lateral movement into backend systems, and data theft. The impact is heightened for CDNs, reverse proxies, and API gateways where NGINX serves as a critical entry point.
Affected systems
This vulnerability affects NGINX Open Source and the following F5 NGINX products: NGINX Ingress Controller, NGINX Gateway Fabric, and NGINX Instance Manager. Any deployment running HTTP/3 QUIC support is vulnerable. Systems with ASLR disabled or circumventable are at elevated risk for code execution. Note that software versions at End of Technical Support (EoTS) are not evaluated per the vendor's guidance.
Exploitability
While the vulnerability requires specific conditions (AC:H in the CVSS vector), network accessibility and lack of authentication requirements make it practically exploitable. An attacker needs only to send crafted HTTP/3 packets and does not require credentials or user interaction. The primary barrier is the environmental condition (ASLR status or bypass capability), which is within an attacker's reach in many real-world scenarios. The vulnerability is not currently tracked in the CISA KEV catalog, suggesting active exploitation may not yet be widespread, but organizations should not assume this provides protection.
Remediation
Upgrade NGINX Open Source and affected F5 products to patched versions released by F5. Verify the specific patch version for your product and version combination against F5's official security advisory. As an interim measure, disable HTTP/3 QUIC support in NGINX configuration if it is not operationally required. Additionally, ensure ASLR is enabled system-wide to raise the bar for exploitation even if the vulnerability is triggered. Monitor NGINX worker process logs for unexpected restarts that may indicate exploitation attempts.
Patch guidance
Consult F5's official security advisory for NGINX Open Source and the specific F5 NGINX product you operate (Ingress Controller, Gateway Fabric, or Instance Manager) to identify the patched version. Apply patches in a staged manner across non-production environments first to validate compatibility. Test HTTP/3 functionality after patching if it is in use. Establish a timeline to patch all affected instances within your infrastructure.
Detection guidance
Monitor NGINX worker process restart events and correlate with HTTP/3 (UDP port 443) traffic patterns from external sources. Log analysis tools should flag unexpected worker crashes without clear configuration errors. Intrusion detection systems may identify malformed HTTP/3 QUIC packets if they have QUIC protocol inspection capabilities. Implement netflow or packet capture analysis on production NGINX endpoints to baseline normal HTTP/3 session behavior and flag anomalies. Process memory monitoring tools can detect the characteristic patterns of use-after-free exploitation attempts.
Why prioritize this
This vulnerability merits urgent attention due to its HIGH CVSS score (8.1), network accessibility, lack of authentication requirements, and potential for code execution on insufficiently hardened systems. Even where ASLR is enabled, the denial-of-service impact through worker process crashes affects availability. Organizations running NGINX in reverse proxy or API gateway roles should prioritize patching and interim mitigation immediately. The fact that it is not yet in the KEV catalog should not delay action—vulnerability disclosure and exploitation often follow different timelines.
Risk score, explained
The CVSS 3.1 score of 8.1 (HIGH) reflects the combination of high impact (confidentiality, integrity, and availability all scored as high), network vector (remote exploitation), no authentication requirement, and user interaction not required. The score is tempered by the AC:H (high attack complexity) due to environmental conditions that must align for full code execution. However, the baseline denial-of-service impact is achievable under simpler conditions, making the vulnerability dangerous even where ASLR mitigations are present.
Frequently asked questions
Do we need to disable HTTP/3 entirely as a workaround?
Disabling HTTP/3 QUIC support is a legitimate interim mitigation if the vulnerability cannot be patched immediately and if HTTP/3 is not critical to your operations. However, this should be temporary. QUIC offers performance benefits, and the long-term solution is to upgrade to patched versions. Evaluate your user base's HTTP/3 support requirements before making this a permanent change.
Can this vulnerability be exploited without direct access to the network?
No, the vulnerability requires direct network access to send crafted HTTP/3 packets to the NGINX server. It cannot be exploited through indirect means or from behind a firewall that blocks incoming HTTP/3 traffic. However, any attacker with internet access to your NGINX endpoint poses a risk.
What role does ASLR play in the severity of this vulnerability?
ASLR (Address Space Layout Randomization) is a critical mitigation. When enabled, it randomizes memory addresses, making it difficult for an attacker to reliably exploit the use-after-free condition for code execution. Systems with ASLR disabled or bypassed face the full severity of this vulnerability, including remote code execution. Ensure ASLR is enabled as a baseline defense on all systems running NGINX.
Is there a way to detect if our systems have been exploited?
Look for unexpected NGINX worker process crashes, particularly if they correlate with HTTP/3 traffic. Review NGINX error logs for segmentation faults or memory-related errors without corresponding configuration changes. Implement process restart monitoring and alerting. However, a single worker crash does not necessarily indicate exploitation—monitor for patterns of repeated crashes from external triggers, which would be more suspicious.
This analysis is provided for informational purposes and does not constitute legal or professional security advice. Patch versions, affected product lists, and remediation steps should be verified against F5's official security advisory. The presence or absence of this vulnerability in the CISA KEV catalog does not indicate its exploitability status or threat level. Organizations must conduct their own risk assessments based on their specific configurations, network architecture, and threat landscape. SEC.co makes no warranties regarding the completeness or accuracy of vulnerability impact predictions for specific environments. Source: NVD (public-domain), retrieved 2026-07-27. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-0125HIGHAndroid VPU Race Condition Local Privilege Escalation
- CVE-2026-0137HIGHAndroid Edge TPU Use-After-Free Privilege Escalation
- CVE-2026-0143HIGHAndroid LWIS Use-After-Free Privilege Escalation (CVSS 7.8 HIGH)
- CVE-2026-10000HIGHChrome Sandbox Escape via Use-After-Free in Password Handling
- CVE-2026-10001HIGHChrome Sandbox Escape via PerformanceManager Use-After-Free
- CVE-2026-10002HIGHGoogle Chrome PDFium Use-After-Free Vulnerability (CVSS 8.8)
- CVE-2026-10003HIGHChrome Use-After-Free Code Execution Vulnerability Analysis
- CVE-2026-10005HIGHChrome macOS Use-After-Free RCE Vulnerability (7.5 CVSS)