Out-of-bounds Read Affecting nginx package, versions [0.3.50,1.30.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.73% (51st 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 Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-NGINX-16680560
  • published14 May 2026
  • disclosed13 May 2026
  • creditDavid Carlier, Zhenpeng (Leo) Lin

Introduced: 13 May 2026

CVE-2026-42934  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade nginx to version 1.30.1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read in the ngx_http_charset_module process when the charset, source_charset, charset_map, and proxy_pass directives are configured with buffering disabled. An attacker can cause a heap buffer over-read by sending specially crafted requests, potentially resulting in limited memory disclosure or a worker process restart. This is only exploitable if the affected directives are configured together with buffering set to "off".

References

CVSS Base Scores

version 4.0
version 3.1