CVE-2026-42934: NGINX ngx_http_charset_module vulnerability

Published May 13, 2026
·
Updated

Last updated 6 June 2026

Other sources

NGINX ngxhttpcharsetmodule vulnerability

Microsoft

NGINX Plus and NGINX Open Source have a vulnerability in the ngxhttpcharsetmodule module. When charset, sourcecharset, and charsetmap and proxypass with disabled buffering ("off") directives are configured, unauthenticated attackers can send requests that with conditions beyond the attackers' control to cause a heap buffer over-read in the NGINX worker process, leading to limited disclosure of memory or a restart.

Launchpad

Affected Software

18 affected componentsFixes available
Nginx NGINX Open Source
Nginx NGINX Plus
Microsoft azl3 nginx 1.28.3-1
debian/nginx<=1.18.0-6.1+deb11u3, <=1.22.1-9+deb12u6, <=1.26.3-3+deb13u4
1.18.0-6.1+deb11u61.22.1-9+deb12u71.26.3-3+deb13u51.30.1-3
F5 Dos Nginx>=4.3.0<=4.7.0
F5 Dos Nginx=4.8.0
F5 NGINX Gateway Fabric>=1.3.0<=1.6.2
F5 NGINX Gateway Fabric>=2.0.0<=2.6.0
F5 NGINX Ingress Controller>=3.5.0<=3.7.2
F5 NGINX Ingress Controller>=4.0.0<=4.0.1
F5 NGINX Ingress Controller>=5.0.0<=5.4.2
F5 NGINX Instance Manager>=2.16.0<=2.22.0
F5 NGINX Open Source>=0.3.50<=0.9.7
F5 NGINX Open Source>=1.0.0<=1.30.0
F5 NGINX Plus>=r32<=r36
F5 Waf Nginx>=4.9.0<=4.16.0
F5 Waf Nginx>=5.1.0<=5.8.0
F5 Waf Nginx>=5.9.0<=5.12.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/nginx to a version that resolves this vulnerability.

    Fixed in 1.18.0-6.1+deb11u6Fixed in 1.22.1-9+deb12u7Fixed in 1.26.3-3+deb13u5Fixed in 1.30.1-3
  2. Upgrade

    Upgrade debian/nginx to a version that resolves this vulnerability.

    Fixed in 1.18.0-6.1+deb11u6
  3. Upgrade

    Upgrade debian/nginx to a version that resolves this vulnerability.

    Fixed in 1.22.1-9+deb12u7
  4. Upgrade

    Upgrade debian/nginx to a version that resolves this vulnerability.

    Fixed in 1.26.3-3+deb13u5
  5. Upgrade

    Upgrade debian/nginx to a version that resolves this vulnerability.

    Fixed in 1.30.1-3
  6. Configuration

    Ensure proxy_buffering is enabled (not set to 'off') for any location using proxy_pass when charset, source_charset, or charset_map are configured to avoid the vulnerable condition described.

    NGINX (ngx_http_charset_module) proxy_buffering = on
  7. Configuration

    Disable charset (use 'charset off') in http/server/location blocks that use proxy_pass with proxy_buffering set to 'off', or otherwise avoid configuring charset when proxy_buffering is disabled.

    NGINX (ngx_http_charset_module) charset = off
  8. Configuration

    Remove or do not configure source_charset and charset_map in any blocks that use proxy_pass with proxy_buffering set to 'off' to avoid the condition that can lead to a heap buffer over-read.

    NGINX (ngx_http_charset_module) source_charset and charset_map = remove/unset

Event History

May 13, 2026
CVE Published
via MITRE·02:12 PM
Data Sourced
via MITRE·02:12 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
Affected Software
May 16, 2026
Data Sourced
via Microsoft·08:04 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:04 AM
DescriptionSeverity
Jun 1, 2026
Data Sourced
via Debian·06:33 PM
DescriptionAffected Software
Data Sourced
via Launchpad·06:33 PM
Description
Jun 6, 2026
Data Sourced
via Ubuntu·06:36 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-42934?

CVE-2026-42934 is rated as a medium severity vulnerability due to the potential for unauthenticated attacks.

2

How do I fix CVE-2026-42934?

To fix CVE-2026-42934, you should update to the latest version of NGINX Plus or NGINX Open Source that addresses this vulnerability.

3

What products are affected by CVE-2026-42934?

CVE-2026-42934 affects both NGINX Plus and NGINX Open Source installations.

4

What are the attack vectors for CVE-2026-42934?

The attack vector for CVE-2026-42934 involves sending specially crafted requests to NGINX instances with specific charset configurations.

5

Can CVE-2026-42934 be exploited remotely?

Yes, CVE-2026-42934 can be exploited remotely by unauthenticated attackers under the right conditions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203