CVE-2026-42055
nginx: NGINX: Arbitrary code execution or Denial of Service via heap-based buffer overflow with crafted HTTP/2 headers
Overview
Description
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.
Source: OX vulnerability database
Severity
8.1 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-122, CWE-787, CWE-131
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | nginx | >=1.30.0, <1.30.3>=1.31.0, <1.31.2 | 1.30.31.31.2 |
| Bitnami | nginx-gateway | >=1.30.0, <1.30.3>=1.31.0, <1.31.2 | 1.30.31.31.2 |
| Bitnami | nginx-gateway-fabric | >=1.3.0, <2.6.4 | 2.6.4 |
Open a package to see all its vulnerabilities.
Operating systems · 56 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | nginx | 0:1.28.3-7.azl3 |
Oracle Linux 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | nginx +8 | 1:1.24.0-3.0.1.module+el8.10.0+90952+25c71254.3 |
| 9 | nginx +9 | 2:1.26.3-9.0.1.module+el9.8.0+90950+a1e882cd.2 |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | nginx +6 | 1.30.4-1.ph5 |
Red Hat 4 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 8 (nginx:1.24) | nginx +8 | 1:1.24.0-3.module+el8.10.0+24503+61c7c092.3 | RHSA-2026:38847 |
| 9 | nginx +8 | 1:1.20.1-14.el9_2.7 | RHSA-2026:93472 |
| 9 | nginx +8 | 1:1.20.1-16.el9_4.7 | RHSA-2026:93468 |
| 9 | nginx +9 | 2:1.20.1-22.el9_6.7 | RHSA-2026:93467 |
| 9 | nginx +9 | 2:1.20.1-28.el9_8.4 | RHSA-2026:36331 |
| 9 (nginx:1.24) | nginx +9 | 1:1.24.0-7.module+el9.8.0+24502+c9b9ab67.3 | RHSA-2026:36618 |
1 more row
SUSE Linux Enterprise 5 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | nginx +1 | 1.21.5-150400.3.25.1 | SUSE-SU-2026:3448-1 |
| 15.5 | nginx +1 | 1.21.5-150400.3.25.1 | SUSE-SU-2026:3448-1 |
| 15.6 | nginx +1 | 1.21.5-150600.10.24.1 | SUSE-SU-2026:3329-1 |
| 15.7 | nginx +1 | 1.21.5-150600.10.24.1 | SUSE-SU-2026:3329-1 |
| 16.0 | nginx +1 | 1.27.2-160000.6.1 | SUSE-SU-2026:22943-1 |
alma 5 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | nginx-all-modules +1 | 2:1.26.3-6.el10_2.5 |
| 8 (nginx:1.24) | nginx +8 | 1:1.24.0-3.module_el8.10.0+4215+c88f2fa5.3.alma.1 |
| 9 | nginx +9 | 2:1.20.1-28.el9_8.4.alma.1 |
| 9 (nginx:1.24) | nginx +9 | 1:1.24.0-7.module_el9.8.0+278+b57266e8.3.alma.1 |
| 9 (nginx:1.26) | nginx +9 | 2:1.26.3-9.module_el9.8.0+281+75d5e6d4.2 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | nginx | 1.28.3-r4 |
| 3.23 | nginx | 1.28.3-r4 |
| 3.24 | nginx | 1.30.3-r0 |
| edge | nginx | 1.30.3-r0 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | nginx +17 | 1:1.30.3-1.amzn2023.0.1 |
chainguard 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| ingress-nginx-controller-1-15 +1 | 1.15.8-r0 | |
| nginx-stable | 1.30.3-r0 | |
| nginx-mainline | 1.31.2-r0 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | nginx | 1.18.0-6.1+deb11u8 |
| 12 | nginx | 1.22.1-9+deb12u9 |
| 13 | nginx | 1.26.3-3+deb13u7 |
| 14 | nginx | 1.30.1-5 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| nginx | 1.22.1-9+deb12u9 |
minimos 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| nginx-1-30 | 1.30.3-r0 | |
| nginx-1-31 | 1.31.2-r0 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | nginx +1 | 1.31.2-1.1 | openSUSE-SU-2026:11066-1 |
openSUSE Leap 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | nginx +1 | 1.27.2-160000.6.1 | openSUSE-SU-2026:21439-1 |
rocky 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | nginx +8 | 2:1.26.3-6.el10_2.5 |
| 8 (nginx:1.24) | nginx +8 | 1:1.24.0-3.module+el8.10.0+40144+38158758 |
| 8 (nginx:1.24) | nginx +8 | 1:1.24.0-3.module+el8.10.0+40187+52bedf24.1 |
| 8 (nginx:1.24) | nginx +8 | 1:1.24.0-3.module+el8.10.0+40220+e6a4bcb0.2 |
| 8 (nginx:1.24) | nginx +8 | 1:1.24.0-3.module+el8.10.0+40249+a5ea815d.3 |
| 9 | nginx +8 | 2:1.20.1-28.el9_8.4.rocky.0.1 |
6 more rows
ubuntu 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | nginx | 1.18.0-6ubuntu14.16 |
| 24.04 | nginx | 1.24.0-2ubuntu7.13 |
| 26.04 | nginx | 1.28.3-2ubuntu1.6 |
wolfi 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| ingress-nginx-controller-1-15 | 1.15.8-r0 | |
| nginx-stable | 1.30.3-r0 | |
| nginx-mainline | 1.31.2-r0 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:27197
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:36331
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:36364
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:36618
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:36639
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:38847
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:44481
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:46836
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:58981
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-42055
Show all 23 references
- bugzilla.redhat.com https://bugzilla.redhat.com/2489866
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2489866
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42055
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-36639.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:38847
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-42055.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-38847.html
- my.f5.com https://my.f5.com/manage/s/article/K000161584
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-42055
- security.access.redhat.com https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42055.json
- ubuntu.com https://ubuntu.com/security/notices/USN-8458-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-42055
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.