CVE-2026-48142 Affecting nginx-mainline package, versions <1.31.2-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.37% (29th 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 IDSNYK-WOLFILATEST-NGINXMAINLINE-18868188
  • published17 Aug 2026
  • disclosed17 Jun 2026

Introduced: 17 Jun 2026

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

How to fix?

Upgrade Wolfi nginx-mainline to version 1.31.2-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nginx-mainline package and not the nginx-mainline package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_charset_module module. When content is served or proxied through a location block with both source_charset utf-8; and a charset directive (for example, charset koi8-r;) configured, remote, unauthenticated attackers can send requests (in conjunction with conditions beyond their control) to cause a heap buffer over-read in the NGINX worker process, leading to limited disclosure of memory or a restart.

Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

CVSS Base Scores

version 3.1