nginx 0.3.50 < 1.30.3 / 1.31.x < 1.31.2 Buffer Overread in ngx_http_charset_module

medium Nessus Plugin ID 321915

Synopsis

The remote web server is affected by a vulnerability.

Description

The installed version of nginx is 0.3.50 prior to 1.30.3, or 1.31.x prior to 1.31.2. It is, therefore, affected by the following issue :

- 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. (CVE-2026-48142)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to nginx 1.30.3 / 1.31.2 or later.

See Also

https://my.f5.com/manage/s/article/K000161585

https://nginx.org/en/security_advisories.html

Plugin Details

Severity: Medium

ID: 321915

File Name: nginx_CVE-2026-48142.nasl

Version: 1.1

Type: Combined

Agent: unix

Family: Web Servers

Published: 6/22/2026

Updated: 6/22/2026

Configuration: Enable paranoid mode

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.0

CVSS v2

Risk Factor: Medium

Base Score: 4

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:N/A:P

CVSS Score Source: CVE-2026-48142

CVSS v3

Risk Factor: Medium

Base Score: 4.8

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L

Vulnerability Information

CPE: cpe:/a:nginx:nginx

Required KB Items: Settings/ParanoidReport, installed_sw/nginx

Patch Publication Date: 6/17/2026

Vulnerability Publication Date: 6/17/2026

Reference Information

CVE: CVE-2026-48142

IAVA: 2026-A-0601