Excessive CPU Usage Vulnerability in nginx - CVE-2018-16844

nginx Updated 02 Oct 2025

Summary

07/11/2018
N/A
Yes i
High
7.5

ALPINE-CVE-2018-16844: nginx before versions 1.15.6 and 1.14.1 has a vulnerability in the implementation of HTTP/2 that can allow for excessive CPU usage. Affects nginx versions < 1.14.1-r0. Fixed in 1.14.1-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

nginx is a high-performance web server and reverse proxy server known for its stability, rich feature set, and low resource consumption. It is widely used for serving static content, load balancing, and as a reverse proxy for various applications. However, certain configurations can expose nginx to vulnerabilities, such as CVE-2018-16844, which affects its HTTP/2 implementation.

Vulnerability Detail

The vulnerability identified as CVE-2018-16844 exists in nginx versions prior to 1.15.6 and 1.14.1. It arises from a flaw in the HTTP/2 implementation, which can lead to excessive CPU usage when the 'http2' option is enabled in the 'listen' directive of the configuration file. This can result in denial of service, affecting the availability of the web service and potentially leading to resource exhaustion on the server.

How To Fix

Minimum fixed version

1.14.1-r0

This is the first release that contains the fix.

sudo apk add --upgrade nginx

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate patching is not possible, consider disabling the HTTP/2 feature in your nginx configuration by removing or commenting out the 'http2' option in the 'listen' directive. For example: 'listen 80; # http2'. This will mitigate the risk until the package can be updated.

Conclusion

CVE-2018-16844 is a significant vulnerability affecting nginx that can lead to excessive CPU usage. It is crucial to update to the patched version or disable the HTTP/2 feature to mitigate the risk. Regular monitoring for vulnerabilities using tools like Vulert can help maintain the security of your applications.

See every vulnerability recorded for nginx →

Share this vulnerability

FAQ

CVE-2018-16844 is a vulnerability in nginx that can lead to excessive CPU usage due to a flaw in its HTTP/2 implementation.

nginx versions prior to 1.15.6 and 1.14.1 are affected by this vulnerability.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score for CVE-2018-16844 is 7.5, indicating a high severity level.

If you cannot update nginx immediately, consider disabling the HTTP/2 feature in your configuration as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for nginx.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

1.14.1-r0

This is the first release that contains the fix.

sudo apk add --upgrade nginx

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback