Out-of-bounds read in NGINX Open Source and NGINX Plus - CVE-2026-42934

 

Out-of-bounds read in NGINX Open Source and NGINX Plus - CVE-2026-42934

Published: May 14, 2026


Vulnerability identifier: #VU131374
CSH Severity: Medium
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-42934
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to disclose limited memory contents or cause a denial of service.

The vulnerability exists due to out-of-bounds read in ngx_http_charset_module when processing requests with charset, source_charset, charset_map, and proxy_pass configured with buffering disabled. A remote attacker can send crafted requests to disclose limited memory contents or cause a denial of service.

This issue affects the data plane only and requires the specific configuration to be enabled.


Affected software

NGINX Open Source
NGINX Plus
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP6
Gentoo Linux
Debian Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Real Time 15
Ubuntu
Server Applications Module
openSUSE Leap
openEuler
Fedora
nginx-extras (Ubuntu package)
nginx-light (Ubuntu package)
nginx-common (Ubuntu package)
nginx-full (Ubuntu package)
nginx (Ubuntu package)
nginx-naxsi (Ubuntu package)
nginx-core (Ubuntu package)
libnginx-mod-http-ndk (Ubuntu package)
libnginx-mod-http-perl (Ubuntu package)
libnginx-mod-http-geoip (Ubuntu package)
libnginx-mod-http-headers-more-filter (Ubuntu package)
libnginx-mod-http-fancyindex (Ubuntu package)
libnginx-mod-http-xslt-filter (Ubuntu package)
libnginx-mod-http-cache-purge (Ubuntu package)
libnginx-mod-stream (Ubuntu package)
libnginx-mod-http-dav-ext (Ubuntu package)
libnginx-mod-http-auth-pam (Ubuntu package)
libnginx-mod-http-subs-filter (Ubuntu package)
libnginx-mod-mail (Ubuntu package)
libnginx-mod-http-image-filter (Ubuntu package)
libnginx-mod-http-echo (Ubuntu package)
libnginx-mod-http-uploadprogress (Ubuntu package)
libnginx-mod-nchan (Ubuntu package)
libnginx-mod-http-lua (Ubuntu package)
libnginx-mod-http-upstream-fair (Ubuntu package)
libnginx-mod-rtmp (Ubuntu package)
nginx-mod-js-challenge
nginx-mod-vts
nginx-mod-fancyindex
nginx-mod-headers-more
nginx-mod-brotli
nginx-mod-modsecurity
nginx-mod-naxsi
nginx
nginx-filesystem
nginx-all-modules
nginx-debuginfo
nginx-debugsource
nginx-mod-devel
nginx-mod-http-image-filter
nginx-mod-http-perl
nginx-mod-http-xslt-filter
nginx-mod-mail
nginx-mod-stream
nginx-help
nginx-source
compat-nginx
compat-nginx-mod-stream
compat-nginx-mod-mail
compat-nginx-mod-http-xslt-filter
compat-nginx-mod-http-perl
compat-nginx-mod-http-image-filter
compat-nginx-debugsource
compat-nginx-debuginfo
compat-nginx-all-modules
compat-nginx-filesystem
compat-nginx-help
www-servers/nginx
nginx (Debian package)

How to mitigate CVE-2026-42934

Install security update from vendor's website.

NGINX Open Source - update to 1.30.1
NGINX Plus - addressed in versions R32 P6, R36 P4
nginx-extras (Ubuntu package) - addressed in versions 1.4.6-1ubuntu3.9+esm6, 1.10.3-0ubuntu0.16.04.5+esm7, 1.14.0-0ubuntu1.11+esm2, 1.18.0-0ubuntu1.7+esm1, 1.18.0-6ubuntu14.12, 1.24.0-2ubuntu7.9, 1.28.0-6ubuntu1.4, 1.28.3-2ubuntu1.2
nginx-light (Ubuntu package) - addressed in versions 1.4.6-1ubuntu3.9+esm6, 1.10.3-0ubuntu0.16.04.5+esm7, 1.14.0-0ubuntu1.11+esm2, 1.18.0-0ubuntu1.7+esm1, 1.18.0-6ubuntu14.12, 1.24.0-2ubuntu7.9, 1.28.0-6ubuntu1.4, 1.28.3-2ubuntu1.2
nginx-common (Ubuntu package) - update to 1.4.6-1ubuntu3.9+esm6
nginx-full (Ubuntu package) - addressed in versions 1.4.6-1ubuntu3.9+esm6, 1.10.3-0ubuntu0.16.04.5+esm7, 1.14.0-0ubuntu1.11+esm2, 1.18.0-0ubuntu1.7+esm1, 1.18.0-6ubuntu14.12, 1.24.0-2ubuntu7.9, 1.28.0-6ubuntu1.4, 1.28.3-2ubuntu1.2
nginx (Ubuntu package) - addressed in versions 1.4.6-1ubuntu3.9+esm6, 1.10.3-0ubuntu0.16.04.5+esm7, 1.14.0-0ubuntu1.11+esm2, 1.18.0-0ubuntu1.7+esm1, 1.18.0-6ubuntu14.12, 1.24.0-2ubuntu7.9, 1.28.0-6ubuntu1.4, 1.28.3-2ubuntu1.2
nginx-naxsi (Ubuntu package) - update to 1.4.6-1ubuntu3.9+esm6
nginx-core (Ubuntu package) - addressed in versions 1.4.6-1ubuntu3.9+esm6, 1.10.3-0ubuntu0.16.04.5+esm7, 1.14.0-0ubuntu1.11+esm2, 1.18.0-0ubuntu1.7+esm1, 1.18.0-6ubuntu14.12, 1.24.0-2ubuntu7.9, 1.28.0-6ubuntu1.4, 1.28.3-2ubuntu1.2
libnginx-mod-http-ndk (Ubuntu package) - update to 1.14.0-0ubuntu1.11+esm2
libnginx-mod-http-perl (Ubuntu package) - update to 1.14.0-0ubuntu1.11+esm2
libnginx-mod-http-geoip (Ubuntu package) - update to 1.14.0-0ubuntu1.11+esm2
libnginx-mod-http-headers-more-filter (Ubuntu package) - addressed in versions 1.14.0-0ubuntu1.11+esm2, 1.18.0-0ubuntu1.7+esm1
libnginx-mod-http-fancyindex (Ubuntu package) - update to 1.14.0-0ubuntu1.11+esm2
libnginx-mod-http-xslt-filter (Ubuntu package) - update to 1.14.0-0ubuntu1.11+esm2
libnginx-mod-http-cache-purge (Ubuntu package) - update to 1.14.0-0ubuntu1.11+esm2
libnginx-mod-stream (Ubuntu package) - update to 1.14.0-0ubuntu1.11+esm2
libnginx-mod-http-dav-ext (Ubuntu package) - update to 1.14.0-0ubuntu1.11+esm2
libnginx-mod-http-auth-pam (Ubuntu package) - update to 1.14.0-0ubuntu1.11+esm2
libnginx-mod-http-subs-filter (Ubuntu package) - update to 1.14.0-0ubuntu1.11+esm2
libnginx-mod-mail (Ubuntu package) - addressed in versions 1.14.0-0ubuntu1.11+esm2, 1.18.0-0ubuntu1.7+esm1
libnginx-mod-http-image-filter (Ubuntu package) - update to 1.14.0-0ubuntu1.11+esm2
libnginx-mod-http-echo (Ubuntu package) - update to 1.14.0-0ubuntu1.11+esm2
libnginx-mod-http-uploadprogress (Ubuntu package) - update to 1.14.0-0ubuntu1.11+esm2
libnginx-mod-nchan (Ubuntu package) - addressed in versions 1.14.0-0ubuntu1.11+esm2, 1.18.0-0ubuntu1.7+esm1
libnginx-mod-http-lua (Ubuntu package) - addressed in versions 1.14.0-0ubuntu1.11+esm2, 1.18.0-0ubuntu1.7+esm1
libnginx-mod-http-upstream-fair (Ubuntu package) - update to 1.14.0-0ubuntu1.11+esm2
libnginx-mod-rtmp (Ubuntu package) - addressed in versions 1.14.0-0ubuntu1.11+esm2, 1.18.0-0ubuntu1.7+esm1
nginx-mod-js-challenge - update to 0^20230517.gitda6852d-7.fc44
nginx-mod-vts - addressed in versions 0.2.4-9.fc42, 0.2.4-9.fc43, 0.2.4-9.fc44
nginx-mod-fancyindex - addressed in versions 0.6.0-4.fc42, 0.6.0-4.fc43, 0.6.0-4.fc44
nginx-mod-headers-more - addressed in versions 0.39-9.fc42, 0.39-9.fc43, 0.39-9.fc44
nginx-mod-brotli - addressed in versions 1.0.0~rc-9.fc42, 1.0.0~rc-9.fc43, 1.0.0~rc-9.fc44
nginx-mod-modsecurity - addressed in versions 1.0.4-10.fc42, 1.0.4-10.fc43, 1.0.4-10.fc44
nginx-mod-naxsi - addressed in versions 1.6-17.fc42, 1.6-17.fc43, 1.6-17.fc44
nginx - addressed in versions 1.21.5-12, 1.21.5-14, 1.24.0-10
nginx-filesystem - addressed in versions 1.21.5-12, 1.21.5-14, 1.24.0-10
nginx-all-modules - addressed in versions 1.21.5-12, 1.21.5-14, 1.24.0-10
nginx-debuginfo - addressed in versions 1.21.5-12, 1.21.5-14, 1.24.0-10
nginx-debugsource - addressed in versions 1.21.5-12, 1.21.5-14, 1.24.0-10
nginx-mod-devel - addressed in versions 1.21.5-12, 1.21.5-14, 1.24.0-10
nginx-mod-http-image-filter - addressed in versions 1.21.5-12, 1.21.5-14, 1.24.0-10
nginx-mod-http-perl - addressed in versions 1.21.5-12, 1.21.5-14, 1.24.0-10
nginx-mod-http-xslt-filter - addressed in versions 1.21.5-12, 1.21.5-14, 1.24.0-10
nginx-mod-mail - addressed in versions 1.21.5-12, 1.21.5-14, 1.24.0-10
nginx-mod-stream - addressed in versions 1.21.5-12, 1.21.5-14, 1.24.0-10
nginx-help - addressed in versions 1.21.5-14, 1.24.0-10
nginx-source - addressed in versions 1.21.5-150400.3.20.1, 1.21.5-150600.10.18.1
nginx-debugsource - addressed in versions 1.21.5-150400.3.20.1, 1.21.5-150600.10.18.1
nginx - addressed in versions 1.21.5-150400.3.20.1, 1.21.5-150600.10.18.1
nginx-debuginfo - addressed in versions 1.21.5-150400.3.20.1, 1.21.5-150600.10.18.1
compat-nginx - update to 1.24.0-10
compat-nginx-mod-stream - update to 1.24.0-10
compat-nginx-mod-mail - update to 1.24.0-10
compat-nginx-mod-http-xslt-filter - update to 1.24.0-10
compat-nginx-mod-http-perl - update to 1.24.0-10
compat-nginx-mod-http-image-filter - update to 1.24.0-10
compat-nginx-debugsource - update to 1.24.0-10
compat-nginx-debuginfo - update to 1.24.0-10
compat-nginx-all-modules - update to 1.24.0-10
compat-nginx-filesystem - update to 1.24.0-10
compat-nginx-help - update to 1.24.0-10
nginx - addressed in versions 1.30.1-1.fc42, 1.30.1-1.fc43, 1.30.1-1.fc44
www-servers/nginx - update to 1.31.3-r1
nginx (Debian package) - addressed in versions 1.22.1-9+deb12u7, 1.26.3-3+deb13u5

External References

Related Security Bulletins