Use After Free Affecting nginx package, versions [1.30.0,1.30.40)[1.31.2,1.31.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.45% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-NGINX-18017825
  • published19 Jul 2026
  • disclosed15 Jul 2026
  • creditUnknown

Introduced: 15 Jul 2026

CVE-2026-56434  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade nginx to version 1.30.40, 1.31.3 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free in the ngx_http_ssi_module process when the Server-Side Includes (SSI), proxy_pass, and proxy_buffering off directives are configured. An attacker can cause a heap buffer over-read in the worker process by controlling responses from an upstream server through a man-in-the-middle (MITM) position, potentially leading to limited memory modification or a restart of the worker process. This is only exploitable if the affected directives are enabled and the attacker can intercept and manipulate upstream server responses.

References

CVSS Base Scores

version 4.0
version 3.1