VulnarioBlogNginx vulnerabilities

Nginx Vulnerabilities: The 10 Most Critical Nginx Security Bugs (CVEs)

Nginx vulnerabilities are security flaws in Nginx that attackers can abuse to steal data, take over a server or interrupt a service. Nginx is a popular web server, reverse proxy and load balancer. The National Vulnerability Database (NVD) lists 67 CVEs for Nginx, 3 of them rated critical, and 18 were published in the last 12 months. CISA lists 1 of them in its Known Exploited Vulnerabilities (KEV) catalog, which means attackers have used them against real systems.

This guide lists the 10 most critical Nginx security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers Nginx security basics, the current end-of-life dates and a free way to be told about the next Nginx CVE as soon as it is published.

Key takeaways

  • 1 CVE is in CISA's KEV catalog, so attackers have exploited it in the wild.
  • 3 Nginx CVEs are rated critical (CVSS v3), and 18 new ones were published in the last 12 months.
  • The newest CVE in this guide is CVE-2026-60005, published Jul 15, 2026.
  • Supported Nginx releases today (per endoflife.date): 1.31, 1.30. Releases not on the list are past their announced end of life.
  • You can monitor Nginx for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.

How we ranked these Nginx CVEs

We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.

Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.

The 10 most critical Nginx CVEs at a glance

Most critical Nginx vulnerabilities (data from NVD and CISA KEV)
#CVECVSSPublishedTypeCISA KEV
1CVE-2023-444877.5 High2023-10-10HTTP/2 Rapid Reset AttackYes
2CVE-2017-200059.8 Critical2021-06-06Integer overflowNo
3CVE-2016-07469.8 Critical2016-02-15Use after freeNo
4CVE-2009-35559.8 Critical2009-11-09Improper certificate validationNo
5CVE-2026-600058.2 High2026-07-15Security flawNo
6CVE-2026-276548.2 High2026-03-24Heap buffer overflowNo
7CVE-2026-420558.1 High2026-06-17Heap buffer overflowNo
8CVE-2026-425308.1 High2026-06-17Use after freeNo
9CVE-2026-92568.1 High2026-05-22Heap buffer overflowNo
10CVE-2026-429458.1 High2026-05-13Heap buffer overflowNo

Each Nginx CVE explained

1. CVE-2023-44487: HTTP/2 Rapid Reset Attack

  • CVSS 7.5 High
  • In CISA KEV (added 2023-10-10)
  • Published 2023-10-10
  • CWE-400
What NVD says
The HTTP/2 protocol allows a denial of service (server resource consumption) because request cancellation can reset many streams quickly, as exploited in the wild in August through October 2023.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
Affected versions
1.9.5 through 1.25.2
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2023-44487 (opens in a new tab)

2. CVE-2017-20005: Integer overflow

  • CVSS 9.8 Critical
  • Published 2021-06-06
  • CWE-190
What NVD says
NGINX before 1.13.6 has a buffer overflow for years that exceed four digits, as demonstrated by a file with a modification date in 1969 that causes an integer overflow (or a false modification date far in the future), when encountered by the autoindex module.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 1.13.6
What to do
Upgrade to 1.13.6 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2017-20005 (opens in a new tab)

3. CVE-2016-0746: Use after free

  • CVSS 9.8 Critical
  • Published 2016-02-15
  • CWE-416
What NVD says
Use-after-free vulnerability in the resolver in nginx 0.6.18 through 1.8.0 and 1.9.x before 1.9.10 allows remote attackers to cause a denial of service (worker process crash) or possibly have unspecified other impact via a crafted DNS response related to CNAME response processing.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
0.6.18 through 1.8.0; 1.9.0 to before 1.9.10
What to do
Upgrade to 1.9.10 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2016-0746 (opens in a new tab)

4. CVE-2009-3555: Improper certificate validation

  • CVSS 9.8 Critical
  • Published 2009-11-09
  • CWE-295
What NVD says
The TLS protocol, and the SSL protocol 3.0 and possibly earlier, as used in Microsoft Internet Information Services (IIS) 7.0, mod_ssl in the Apache HTTP Server 2.2.14 and earlier, OpenSSL before 0.9.8l, GnuTLS 2.8.5 and earlier, Mozilla Network Security Services (NSS) 3.12.4 and earlier, multiple Cisco products, and other products, does not properly associate renegotiation handshakes with an existing connection,…
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
0.1.0 through 0.8.22
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2009-3555 (opens in a new tab)

5. CVE-2026-60005: Security flaw

  • CVSS 8.2 High
  • Published 2026-07-15
  • CWE-908
What NVD says
NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_slice_module module. When the slice directive and unnamed regex captures are configured or when a background cache update happens, unauthenticated attackers can send requests that may cause uninitialized memory access in the NGINX worker process, leading to limited disclosure of memory or a restart.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability; limited impact on confidentiality.
Affected versions
1.30.0 to before 1.30.4; 1.31.2
What to do
Upgrade to 1.30.4 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-60005 (opens in a new tab)

6. CVE-2026-27654: Heap buffer overflow

  • CVSS 8.2 High
  • Published 2026-03-24
  • CWE-122
What NVD says
NGINX Open Source and NGINX Plus have a vulnerability in the ngx_http_dav_module module that might allow an attacker to trigger a buffer overflow to the NGINX worker process; this vulnerability may result in termination of the NGINX worker process or modification of source or destination file names outside the document root.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability; limited impact on integrity.
Affected versions
0.5.13 through 0.9.7; 1.0.0 to before 1.28.3; 1.29.0 to before 1.29.7
What to do
Upgrade to the fixed release for your branch (1.28.3, 1.29.7) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-27654 (opens in a new tab)

7. CVE-2026-42055: Heap buffer overflow

  • CVSS 8.1 High
  • Published 2026-06-17
  • CWE-122
What NVD says
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.
How it can be attacked
Can be exploited remotely over the network with high attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
1.0.0 through 1.30.2; 1.31.0 through 1.31.1
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2026-42055 (opens in a new tab)

8. CVE-2026-42530: Use after free

  • CVSS 8.1 High
  • Published 2026-06-17
  • CWE-416
What NVD says
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.
How it can be attacked
Can be exploited remotely over the network with high attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
1.31.0 to before 1.31.2
What to do
Upgrade to 1.31.2 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-42530 (opens in a new tab)

9. CVE-2026-9256: Heap buffer overflow

  • CVSS 8.1 High
  • Published 2026-05-22
  • CWE-122
What NVD says
NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_rewrite_module module. This vulnerability exists when a rewrite directive uses a regex pattern with distinct, overlapping Perl-Compatible Regular Expression (PCRE) captures (for example, ^/((.*))$) and a replacement string that references multiple such captures (for example, $1$2) in a redirect or arguments context.
How it can be attacked
Can be exploited remotely over the network with high attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
0.1.17 through 0.9.7; 1.0.0 to before 1.30.2; 1.31.0
What to do
Upgrade to 1.30.2 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-9256 (opens in a new tab)

10. CVE-2026-42945: Heap buffer overflow

  • CVSS 8.1 High
  • Published 2026-05-13
  • CWE-122
What NVD says
NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_rewrite_module module. This vulnerability exists when the rewrite directive is followed by a rewrite, if, or set directive and an unnamed Perl-Compatible Regular Expression (PCRE) capture (for example, $1, $2) with a replacement string that includes a question mark (?).
How it can be attacked
Can be exploited remotely over the network with high attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
0.6.27 through 1.30.0
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2026-42945 (opens in a new tab)

Nginx end of life: which versions still get security fixes

Running a release that still receives security fixes is the most effective way to avoid Nginx vulnerabilities. After a release reaches end of life, newly published CVEs stay unpatched. As of Nov 3, 2026 the supported Nginx releases are 1.31, 1.30.

Nginx release support (source: endoflife.date, checked Nov 3, 2026)
ReleaseReleasedEnd of lifeLatestStatus
Nginx 1.31May 13, 2026Not announced1.31.8Supported
Nginx 1.30Apr 14, 2026Not announced1.30.6Supported
Nginx 1.29Jun 24, 2025May 13, 20261.29.8End of life
Nginx 1.28Apr 23, 2025Apr 14, 20261.28.3End of life
Nginx 1.27May 28, 2024Jun 24, 20251.27.5End of life
Nginx 1.26Apr 23, 2024Apr 23, 20251.26.3End of life
Nginx 1.25May 23, 2023May 29, 20241.25.5End of life
Nginx 1.24Apr 11, 2023Apr 23, 20241.24.0End of life

Dates come from endoflife.date (opens in a new tab), which tracks each project's own support policy. Confirm them with the vendor before planning an upgrade.

How to check if your Nginx is vulnerable

Find the exact version first, then compare it with the affected and fixed versions in each CVE above.

nginx -v

On Linux, Debian, Ubuntu and RHEL-based distributions often backport security fixes and keep the old version number, so a package that looks old can already be patched. Check your distribution's own security tracker or the package changelog before concluding that a server is exposed.

Nginx security checklist

  1. Apply security releases quickly: web servers sit on the internet and are scanned constantly.
  2. Hide version banners and default pages so scanners learn less about you.
  3. Allow only modern TLS (1.2 and 1.3) and renew certificates automatically.
  4. Run worker processes as an unprivileged user and keep sites in separate accounts or pools.
  5. Set sensible request size and timeout limits, and add rate limiting or a web application firewall.
  6. Block access to configuration files, backups and version-control folders.

Where you run Nginx matters as much as how you patch it. Whether your site lives on a VPS, a dedicated server or shared hosting (opens in a new tab), check who is responsible for updating Nginx: on most plans the operating system and applications are yours to patch unless the plan says otherwise.

Your stack is bigger than Nginx. A flaw anywhere in the chain can be the way in, so also review our guides to Apache HTTP Server vulnerabilities, PHP vulnerabilities and HAProxy vulnerabilities.

How to get alerted about new Nginx vulnerabilities

NVD received 18 new Nginx CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:

  • Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
  • Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
  • Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.

Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose Nginx and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.

  • Free: all technologies, alerts grouped at most every 12 hours.
  • Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.

Few stacks run Nginx alone. These guides cover the technologies it is most often deployed with.

Frequently asked questions about Nginx vulnerabilities

What are the most critical Nginx vulnerabilities?

Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical Nginx CVEs include CVE-2023-44487 (CVSS 7.5), CVE-2017-20005 (CVSS 9.8), CVE-2016-0746 (CVSS 9.8). The guide above ranks the 10 most critical with affected versions and fixes.

Have Nginx vulnerabilities been exploited in real attacks?

Yes. CISA's Known Exploited Vulnerabilities (KEV) catalog lists 1 Nginx CVE, including CVE-2023-44487. Treat these as the highest priority to patch.

How many vulnerabilities does Nginx have?

As of Nov 3, 2026 the National Vulnerability Database lists 67 CVEs for Nginx, with 3 rated critical by CVSS v3. 18 were published in the previous twelve months.

Which Nginx versions are still supported?

As of Nov 3, 2026, endoflife.date lists these Nginx releases as supported: 1.31, 1.30. Releases that are not listed are past their announced end of life.

How do I check which Nginx version I run?

Run nginx -v on the server and compare the result with the fixed versions in each CVE. On Debian, Ubuntu and RHEL-based systems, fixes are often backported without changing the version number, so also check your distribution's security tracker.

How can I get alerted when a new Nginx CVE is published?

Add Nginx to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose Nginx and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.

Is Nginx secure?

Nginx is as secure as its patch level. NVD published 18 new Nginx CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.

What is CVE-2023-44487?

CVE-2023-44487 is a high Nginx vulnerability with a CVSS score of 7.5, published Oct 10, 2023. The HTTP/2 protocol allows a denial of service (server resource consumption) because request cancellation can reset many streams quickly, as exploited in the wild in August through October 2023.

Sources

This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.