Skip to main content

NGINX CVE-2026-42055

CRITICAL
Heap-based Buffer Overflow (CWE-122)
2026-06-17 f5
9.2
CVSS 4.0 · Vendor: f5
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify NGINX vhost proxying HTTP/2 or gRPC upstream
  2. Delivery
    Send request with oversized headers
  3. Exploit
    Trigger heap overflow in worker header encoder
  4. Execution
    Corrupt heap state in NGINX worker
  5. Persist
    Leverage disabled or bypassed ASLR
  6. Impact
    Execute code as worker user or crash service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Target NGINX vhost must use proxy_http_version 2 or a grpc_pass directive to proxy upstream over HTTP/2, AND have ignore_invalid_headers explicitly set to off (default is on), AND have large_client_header_buffers configured larger than 2 megabytes (default 4×8k). All three non-default settings must be present simultaneously. Crashing the worker requires only those config preconditions plus the ability to reach the vhost over the network with no authentication or user interaction. Achieving code execution additionally requires Address Space Layout Randomization to be disabled on the host, or an independent ASLR-bypass primitive - which the vendor describes as 'conditions beyond their control' for the attacker - limiting realistic RCE to hardening-deficient deployments.

Impact

CVSS 4.0 of 9.2 reflects network reach with total VC/VI/VA impact, but AC:H and AT:P encode the real-world friction: the attacker needs a non-default config (proxy_http_version 2 or grpc_pass + ignore_invalid_headers off + large_client_header_buffers >2 MB) AND must bypass ASLR for code execution rather than just a crash. CISA SSVC confirms this nuance - Exploitation: none, Automatable: no, Technical Impact: total - meaning impact ceiling is severe but realistic exploitation is constrained and not mass-targetable. The vendor description itself notes 'conditions beyond their control' are required, supporting a non-default-config gating story. Without KEV, without a public POC, and with EPSS not provided, this should be patched on a normal cycle for default-config installs and prioritized for any reverse-proxy fleet known to terminate gRPC or HTTP/2 upstream with custom buffer tuning.

Exploit ScenarioDerived

An attacker sends a request through an internet-facing NGINX reverse proxy whose virtual host is configured with grpc_pass (or proxy_http_version 2) plus ignore_invalid_headers off and a >2 MB large_client_header_buffers value, attaching crafted oversized HTTP headers. The worker overflows its heap while re-encoding headers for the upstream HTTP/2 connection, causing repeated worker restarts (DoS) or, on hosts where ASLR is disabled or bypassed, controlled code execution as the NGINX worker user. No public exploit identified at time of analysis.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jun 18, 2026

Heap-based buffer overflow in NGINX Plus and NGINX Open Source affects deployments that proxy HTTP/2 or gRPC traffic upstream when ignore_invalid_headers is off and large_client_header_buffers exceeds 2 MB. Remote unauthenticated attackers sending oversized headers can crash the worker process, and where ASLR is disabled or bypassable, achieve arbitrary code execution. No public exploit identified at time of analysis and CISA SSVC marks exploitation as 'none', but technical impact is rated total.

Earlier versions of this analysis (2)
v2 Jun 18, 2026 - 04:58 cvss changed CVSS 9.2

Heap-based buffer overflow in NGINX Plus and NGINX Open Source affects deployments proxying HTTP/2 or gRPC upstream traffic with a non-default configuration (proxy_http_version 2 or grpc_pass, ignore_invalid_headers off, and large_client_header_buffers > 2 MB). Remote unauthenticated attackers sending oversized headers can crash the worker process and, on hosts where ASLR is disabled or bypassed, potentially achieve code execution. No public exploit identified at time of analysis, and SSVC marks exploitation as 'none' with the attack not currently considered automatable.

v1 Jun 17, 2026 - 15:31 CVSS 8.1

Heap-based buffer overflow in NGINX Plus and NGINX Open Source affects the ngx_http_proxy_v2_module and ngx_http_grpc_module when proxying HTTP/2 traffic under a specific non-default configuration. A remote unauthenticated attacker sending oversized headers can crash the worker process and, on systems without effective ASLR, potentially achieve code execution. No public exploit identified at time of analysis, and the high attack complexity (AC:H) reflects multiple configuration prerequisites that limit real-world exposure.

RemediationAI

Patch available per vendor advisory - upgrade NGINX Open Source or NGINX Plus to the fixed branch listed in F5 article K000161584 (https://my.f5.com/manage/s/article/K000161584); exact fix versions were not included in the input data and should be read directly from that advisory. If immediate upgrade is not possible, remove the vulnerable configuration combination by lowering large_client_header_buffers to 2 MB or less (default is 8k, so most operators only need to revert custom tuning), or by setting ignore_invalid_headers back to its default of on, or by switching proxy_http_version back to 1.1 where the upstream service supports it (note: this disables HTTP/2 multiplexing to that backend and is not viable for grpc_pass blocks). Ensure ASLR is enabled on the host as defense-in-depth so that successful overflows degrade to a worker restart rather than RCE.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw lives in ngx_http_proxy_v2_module and ngx_http_grpc_module - the upstream HTTP/2 and gRPC proxy paths in NGINX. When proxy_http_version is set to 2 or grpc_pass is used, NGINX re-encodes downstream headers into HPACK frames for the upstream connection. With large_client_header_buffers configured above 2 MB and ignore_invalid_headers set to off, the header-handling path mismanages the buffer boundary, producing a CWE-122 heap-based buffer overflow in the worker. The affected CPEs cover both f5:nginx_open_source and f5:nginx_plus across all versions still under technical support, indicating the bug exists in the shared upstream codebase rather than a Plus-only module.

Know when Nginx Plus gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (f5) PRIMARY 9.2 HIGH
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
vuln.today AI 8.1 HIGH

Network-reachable and unauthenticated (AV:N/PR:N/UI:N), but AC:H because exploitation requires a non-default three-setting config and ASLR bypass for full C/I/A impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 8.1 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat 8.1 HIGH

Primary rating from Vendor (f5).

CVSS VectorVendor: f5

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
Analysis Updated
Jun 18, 2026 - 04:58 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 18, 2026 - 04:58 vuln.today
v2 - CVSS changed
Severity Changed
Jun 18, 2026 - 04:52 NVD
HIGH CRITICAL
CVSS changed
Jun 18, 2026 - 04:52 NVD
8.1 (HIGH) 9.2 (CRITICAL)
CVE Published
Jun 17, 2026 - 14:04 cve.org
HIGH 8.1

DescriptionCVE.org

NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_proxy_v2_module and ngx_http_grpc_module modules. This vulnerability exists when the proxy_http_version to 2 or grpc_pass directives are used to proxy HTTP/2 traffic, the ignore_invalid_headers directive is set to off, and the large_client_header_buffers directive size is larger than 2 megabytes. A remote, unauthenticated attacker, along with conditions beyond their control, could send large headers while creating an upstream request. This may cause a heap-based buffer overflow 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.

Executive ViewAI

Why It Matters

NGINX Open Source and NGINX Plus are vulnerable to a critical attack (CVE-2026-42055, CVSS 9.2) that can render web servers unavailable or compromise them entirely, affecting any organization dependent on NGINX for web hosting, APIs, or traffic management. No public exploit identified at time of analysis, though the vulnerability affects configurations many deployments possess, creating significant risk. Since no vendor patch exists, organizations must immediately implement configuration-based safeguards to protect critical infrastructure.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Enable ignore_invalid_headers setting, (2) Set large_client_header_buffers to 2 MB or less, (3) Disable HTTP/2 or gRPC proxying where not required, (4) Deploy WAF with rules blocking oversized headers, (5) Implement process crash monitoring and alerting to detect exploitation attempts.

Threat Intelligence Overview

EPSS Score
0.6%
Top 54% exploitable
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment NEWS MSRC Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

67
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

Affected Products (CPE)CVE.org

cpe:2.3:a:f5:nginx_open_source:*:*:*:*:*:*:*:*
cpe:2.3:a:f5:nginx_plus:*:*:*:*:*:*:*:*
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2026-123633 CRITICAL POC
9.2 Nov 18

Use-after-free in NGINX Plus and NGINX Open Source can crash a worker process handling HTTP/2-proxied requests and, if A

CVE-2026-123007 CRITICAL POC
9.2 Nov 18

Heap buffer overflow in NGINX Plus and NGINX Open Source when HTTP/2 is enabled lets remote, unauthenticated attackers c

CVE-2026-42945 CRITICAL POC
9.2 May 13

Heap buffer overflow in NGINX Plus and NGINX Open Source ngx_http_rewrite_module allows remote attackers to crash worker

CVE-2026-121810 CRITICAL POC
9.2 Nov 18

Use-after-free in NGINX Plus and NGINX Open Source HTTP/3 processing lets a remote, unauthenticated attacker restart the

CVE-2026-123634 CRITICAL POC
9.2 Nov 18

A crafted HTTP request can drive an NGINX worker process into a use-after-free condition on both NGINX Open Source and N

CVE-2026-113425 CRITICAL POC
9.2 Nov 18

Use-after-free in NGINX's mail proxy lets remote unauthenticated attackers crash a worker process or corrupt its memory,

CVE-2026-42533 CRITICAL POC
9.2 Jul 15

Heap buffer overflow in NGINX Plus and NGINX Open Source lets unauthenticated remote attackers crash worker processes (D

CVE-2026-15176 CRITICAL POC
9.2 Oct 14

Heap buffer overflow in NGINX Plus and NGINX Open Source can be triggered by unauthenticated remote attackers through cr

CVE-2026-97205 CRITICAL POC
9.2 Oct 14

Unauthenticated remote attackers can trigger a use-after-free in NGINX's ngx_http_core_module when asynchronous file I/O

CVE-2026-9256 CRITICAL POC
9.2 May 22

Heap buffer overflow in NGINX Plus and NGINX Open Source ngx_http_rewrite_module can be triggered by unauthenticated rem

CVE-2026-118899 HIGH POC
8.7 Nov 18

Remote, unauthenticated denial of service affects NGINX deployments that terminate TLSv1.3 on a `listen ... ssl` server

Vendor StatusVendor

SUSE

Severity: Important
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Module for Server Applications 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected
SUSE Linux Enterprise Server 16.0 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy