PortGate

Advisories · Web servers

CVE-2017-7529 High CVSS 7.5

Nginx range filter memory disclosure

Disclosed 2017 · Last reviewed 2 Dec 2026

A range request could return bytes from outside the response body, including memory from another request.

What happened

The range filter calculated a length that could be negative and then copied that memory.

Affected and patched versions

Affected
Nginx before 1.13.3 and 1.12.1 when the range filter is enabled, which is the default.
Patched
Nginx 1.13.3, 1.12.1, and later.

How to check your server

Check

nginx -v

How to fix and harden

  1. Run nginx -v.
  2. Upgrade Nginx from the distribution. Current stable releases are years past this bug.
  3. Reload Nginx after the package install.

Fix

nginx -v

Sources

Version ranges and fixes follow the vendor advisory. When a distribution backports a fix, trust its security tracker over the upstream version number. New advisories: RSS · JSON