← Vulnerability feed

Vulnerability record · CVE-2013-2028 · published 20 July 2013

CVE-2013-2028: nginx chunked transfer-encoding parsing stack buffer overflow

F5 · Nginx

The ngx_http_parse_chunked function in nginx 1.3.9 through 1.4.0 mishandles a chunked Transfer-Encoding request with a large chunk size, triggering an integer signedness error and a stack-based buffer overflow. This allows a remote attacker to crash the worker process and potentially execute arbitrary code. The flaw is reachable over the network without authentication.

7.5 CVSS 2.0 High EPSS 87% · top 0.2% CWE-787 · Out-of-bounds write
7.5CVSS 2.0 base score
87%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
20References, 2 tagged exploit
16 Jun 2026Last modified by NVD

Description

The ngx_http_parse_chunked function in http/ngx_http_parse.c in nginx 1.3.9 through 1.4.0 allows remote attackers to cause a denial of service (crash) and execute arbitrary code via a chunked Transfer-Encoding request with a large chunk size, which triggers an integer signedness error and a stack-based buffer overflow.

AV:N/AC:L/Au:N/C:P/I:P/A:P

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityRemote unauthenticated code execution and DoS with public exploit tooling and very high EPSS, though the affected nginx versions are old and likely patched in most environments.

What it is

The ngx_http_parse_chunked function in nginx 1.3.9 through 1.4.0 mishandles a chunked Transfer-Encoding request with a large chunk size, triggering an integer signedness error and a stack-based buffer overflow. This allows a remote attacker to crash the worker process and potentially execute arbitrary code. The flaw is reachable over the network without authentication.

Impact

An unauthenticated remote attacker can cause a denial of service by crashing nginx, and the stack overflow may allow arbitrary code execution in the context of the nginx worker process.

Attack surface

Reached over the network via an HTTP request using chunked Transfer-Encoding with a crafted large chunk size; no authentication or user interaction is required per the AV:N/AC:L/Au:N vector.

Exploitation

Not listed in CISA KEV, but EPSS 30-day probability is 0.87475 (99.748th percentile) and references include an Exploit-tagged Packet Storm entry and a Metasploit framework pull request, indicating public exploit tooling exists.

What to do

  • Upgrade nginx to a version outside the affected 1.3.9 through 1.4.0 range, applying the vendor patch referenced in the nginx advisory.
  • If immediate upgrade is not possible, apply the vendor-supplied patch.2013.chunked.txt or the distribution backport for your package.
  • Disable or restrict chunked Transfer-Encoding at the front-end proxy or load balancer where operationally feasible.
  • Monitor nginx worker crashes and restart loops as an indicator of attempted exploitation.
  • Review exposure of nginx instances running the affected versions and prioritize internet-facing deployments.

Detection

  • Inspect HTTP request logs for chunked Transfer-Encoding requests with abnormally large chunk size values.
  • Alert on nginx worker process crashes, core dumps, or unexpected restarts correlated with inbound HTTP traffic.
  • Use network IDS signatures for the known nginx chunked parsing exploit pattern.
  • Correlate Packet Storm or Metasploit exploit traffic patterns against nginx access logs.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.fedoraproject.org/pipermail/package-announce/2013-May/105176.html Third Party Advisory
http://mailman.nginx.org/pipermail/nginx-announce/2013/000112.html MitigationPatchVendor Advisory
http://nginx.org/download/patch.2013.chunked.txt PatchVendor Advisory
http://packetstormsecurity.com/files/121675/Nginx-1.3.9-1.4.0-Denial-Of-Service.html ExploitThird Party AdvisoryVDB Entry
http://secunia.com/advisories/55181 Third Party Advisory
http://security.gentoo.org/glsa/glsa-201310-04.xml Third Party Advisory
http://www.osvdb.org/93037 Broken Link
http://www.securityfocus.com/bid/59699 Third Party AdvisoryVDB Entry
http://www.vnsecurity.net/2013/05/analysis-of-nginx-cve-2013-2028/ Broken Link
https://github.com/rapid7/metasploit-framework/pull/1834 PatchThird Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2013-May/105176.html Third Party Advisory
http://mailman.nginx.org/pipermail/nginx-announce/2013/000112.html MitigationPatchVendor Advisory
http://nginx.org/download/patch.2013.chunked.txt PatchVendor Advisory
http://packetstormsecurity.com/files/121675/Nginx-1.3.9-1.4.0-Denial-Of-Service.html ExploitThird Party AdvisoryVDB Entry
http://secunia.com/advisories/55181 Third Party Advisory
http://security.gentoo.org/glsa/glsa-201310-04.xml Third Party Advisory
http://www.osvdb.org/93037 Broken Link
http://www.securityfocus.com/bid/59699 Third Party AdvisoryVDB Entry
http://www.vnsecurity.net/2013/05/analysis-of-nginx-cve-2013-2028/ Broken Link
https://github.com/rapid7/metasploit-framework/pull/1834 PatchThird Party Advisory

Track CVE-2013-2028 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2024-4577PHP-CGI on Windows argument injection leads to remote code executionPHP-CGI on Windows can misinterpret characters in the command line passed to Win32 API functions when certain code pages are configured, due to Windo…KEVEPSS 100%analysed9.8CVE-2021-44026Roundcube Webmail SQL injection via search parametersRoundcube Webmail before 1.3.17 and 1.4.x before 1.4.12 is prone to SQL injection through the search or search_params input. The flaw is remotely rea…KEVEPSS 70%analysed9.8CVE-2021-42013Apache HTTP Server path traversal and RCE via incomplete fixThe fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient, leaving a path traversal flaw that lets attackers map URLs to files outside…KEVEPSS 100%analysed9.8CVE-2021-41773Apache HTTP Server 2.4.49 path traversal and RCEA path normalization flaw introduced in Apache HTTP Server 2.4.49 lets attackers map URLs to files outside directories configured by Alias-like direc…KEVEPSS 100%analysed9.8CVE-2021-1870Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions, affecting macOS Big Sur, Catalina, Mojave, iOS and iPadOS, plus WebKitGTK a…KEVEPSS 7.7%analysed9.8CVE-2021-1871Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions. It affects macOS Big Sur, Catalina, Mojave, iOS and iPadOS, and a remote at…KEVEPSS 7.0%analysed9.8CVE-2020-16846SaltStack Salt API shell injection via crafted web requestsSaltStack Salt through 3002 is vulnerable to OS command injection when the SSH client is enabled and crafted web requests are sent to the Salt API. T…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2013-2028), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.