Out-of-bounds Read Affecting nginx package, versions [1.0.0,1.30.3)[1.31.0,1.31.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.68% (49th 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-17660903
  • published28 Jun 2026
  • disclosed17 Jun 2026
  • creditUnknown

Introduced: 17 Jun 2026

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

How to fix?

Upgrade nginx to version 1.30.3, 1.31.1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read in the ngx_http_charset_module process when both source_charset is set to utf-8 and a different charset directive is configured in a location block. An attacker can cause a heap buffer over-read by sending crafted requests, potentially resulting in limited memory disclosure or a worker process restart. This is only exploitable if both directives are present with conflicting values in the same location block.

References

CVSS Base Scores

version 4.0
version 3.1