Skip to main content

NGINX Plus CVE-2026-48142

MEDIUM
Out-of-bounds Read (CWE-125)
2026-06-17 f5
6.3
CVSS 4.0 · Vendor: f5
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify NGINX instance with dual-charset location block configured
  2. Delivery
    Send crafted HTTP request to targeted location endpoint
  3. Exploit
    Await response with content meeting over-read trigger conditions
  4. Execution
    Heap buffer over-read fires in ngx_http_charset_module worker
  5. Impact
    Leak adjacent heap memory fragments or crash NGINX worker process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an NGINX location block explicitly configured with BOTH source_charset utf-8; AND a charset directive specifying a different target encoding (such as charset koi8-r;) simultaneously in the same block - this dual-directive combination is not present in default NGINX configurations and must be deliberately deployed. Beyond configuration, the CVE description states exploitation also depends on 'conditions beyond the attacker's control,' meaning specific content characteristics in the response body served or proxied through that location must be present at the time of the request; the attacker cannot independently guarantee these conditions from a remote position. What limits exploitation: the non-default dual-charset configuration is the primary gating factor, meaning the vast majority of NGINX deployments have zero exposure; the content-dependent triggering condition further reduces reliable exploitability; and the CVSS AC:H metric formalizes these stacked prerequisites. Impact is bounded to partial heap memory disclosure or a worker process restart, with no code execution or integrity impact.

Impact

The CVSS 4.8 score with vector AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L accurately characterizes a moderate, conditionally constrained risk. AC:H is well-justified by two stacked prerequisites: first, the target location block must be explicitly configured with both source_charset and a differing charset directive - not a default NGINX setting - and second, exploitation depends on content characteristics in the served or proxied response that the attacker cannot independently control. The limited impact metrics (C:L for partial heap memory leak, A:L for worker restart) confirm this is not a critical-severity issue. EPSS data was not provided in the available intelligence, preventing quantitative exploitation-probability assessment. No CISA KEV listing and no public POC indicate no confirmed active or mass exploitation at time of analysis. Real-world priority is low-to-moderate: organizations not using dual-charset configuration have zero exposure, while those using the feature should patch per the F5 advisory. The CVSS score does not conflict with the description - the AC:H metric correctly captures the dual-condition dependency described by the vendor.

Exploit ScenarioDerived

An attacker identifies or infers an NGINX endpoint whose location block is configured with both source_charset utf-8 and a differing charset directive, then sends HTTP requests designed to elicit responses whose body content contains specific byte sequences that drive the charset conversion logic past the heap buffer boundary. Success additionally depends on the proxied or served content meeting specific structural conditions at the moment of request - a factor outside the attacker's direct control - meaning repeated requests against suitable endpoints increase the probability of triggering the over-read. A successful trigger either leaks a small quantity of adjacent heap memory from the NGINX worker (potentially exposing fragments of other in-flight request data) or causes the worker to crash and automatically restart, resulting in a brief disruption to request handling; no public POC exists at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 17, 2026

Heap buffer over-read in NGINX Plus and NGINX Open Source's ngx_http_charset_module exposes limited worker process memory or triggers a worker restart when remote unauthenticated attackers send crafted requests against a non-default charset conversion configuration. Exploitation requires both a specific dual-directive configuration (source_charset utf-8 alongside a differing charset directive such as koi8-r in the same location block) and content-dependent conditions outside the attacker's direct control, reflected in the CVSS AC:H rating. No public exploit code exists and this CVE does not appear in the CISA KEV catalog; the vendor F5 has published advisory K000161585 with patched version guidance.

RemediationAI

Consult F5 advisory K000161585 at https://my.f5.com/manage/s/article/K000161585 for exact patched NGINX Plus and NGINX Open Source version numbers, which were not independently confirmed from the available intelligence. As an immediate compensating control, audit all NGINX location blocks and remove any co-occurrence of source_charset and a differing charset directive in the same block; eliminating this dual-directive combination entirely removes the vulnerable code path, though at the cost of disabling charset conversion for affected endpoints - a trade-off only acceptable if charset transcoding is non-functional for those routes. If charset conversion is a required feature and patching is delayed, restrict access to affected location blocks using NGINX's allow/deny directives or upstream network ACLs to reduce the attacker pool, accepting reduced availability in exchange for risk reduction. Do not rely on rate limiting alone as a mitigation, since a single well-timed request with suitable response content is sufficient to trigger the over-read.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The ngx_http_charset_module is a built-in NGINX module that performs on-the-fly character encoding conversion between declared source and target charsets for proxied or served response bodies. When a location block simultaneously declares source_charset utf-8 and a charset directive targeting a different encoding (e.g., koi8-r), the module walks multibyte UTF-8 sequences during conversion. CWE-125 (Out-of-bounds Read) identifies the root cause: the conversion logic reads beyond the boundary of its heap-allocated buffer, likely due to insufficient length validation when iterating over variable-width UTF-8 code points. CPE data confirms both F5's commercial offering (cpe:2.3:a:f5:nginx_plus) and the community distribution (cpe:2.3:a:f5:nginx_open_source) are affected, with wildcard version ranges indicating all supported releases are in scope. The vulnerability is isolated to the worker process, limiting blast radius to memory leakage or a graceful worker restart rather than full process compromise.

Know when Nginx Plus gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (f5) PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 4.8 MEDIUM

AV:N for network-delivered HTTP requests; AC:H for dual stacked prerequisites (non-default config plus content-dependent conditions); C:L and A:L for partial heap leak and worker restart only.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
SUSE 4.8 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
Red Hat 4.8 MEDIUM

Primary rating from Vendor (f5).

CVSS VectorVendor: f5

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jun 22, 2026 - 16:52 NVD
4.8 (MEDIUM) 6.3 (MEDIUM)

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.4%
Top 72% exploitable
Data Quality
7 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment MSRC Vendor CIRCL VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:f5:nginx_open_source:*:*:*:*:*:*:*:*
cpe:2.3:a:f5:nginx_plus:*:*:*:*:*:*:*:*
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2026-42945 CRITICAL POC
9.2 May 13

Heap buffer overflow in NGINX Plus and NGINX Open Source ngx_http_rewrite_module allows remote attackers to crash worker

CVE-2026-42055 CRITICAL POC
9.2 Jun 17

Heap-based buffer overflow in NGINX Plus and NGINX Open Source affects deployments that proxy HTTP/2 or gRPC traffic ups

CVE-2026-9256 CRITICAL POC
9.2 May 22

Heap buffer overflow in NGINX Plus and NGINX Open Source ngx_http_rewrite_module can be triggered by unauthenticated rem

CVE-2026-42533 CRITICAL POC
9.2 Jul 15

Heap buffer overflow in NGINX Plus and NGINX Open Source lets unauthenticated remote attackers crash worker processes (D

CVE-2026-93479 CRITICAL POC
9.2 Oct 14

Heap buffer overflow in NGINX Plus and NGINX Open Source can be triggered by crafted HTTP requests when a non-default ma

CVE-2026-15176 CRITICAL POC
9.2 Oct 14

Heap buffer overflow in NGINX Plus and NGINX Open Source can be triggered by unauthenticated remote attackers through cr

CVE-2026-97205 CRITICAL POC
9.2 Oct 14

Unauthenticated remote attackers can trigger a use-after-free in NGINX's ngx_http_core_module when asynchronous file I/O

CVE-2026-60005 HIGH
8.8 Jul 15

Limited memory disclosure and worker-process restart in NGINX Plus and NGINX Open Source arise when the optional ngx_htt

CVE-2026-27654 HIGH POC
8.8 Mar 24

Buffer overflow in NGINX's DAV module allows remote attackers to crash worker processes or manipulate file names outside

CVE-2026-27651 HIGH
8.7 Mar 24

NGINX worker process crashes via null pointer dereference in the mail authentication module when CRAM-MD5 or APOP authen

CVE-2024-39792 HIGH
8.7 Aug 14

When the NGINX Plus is configured to use the MQTT pre-read module, undisclosed requests can cause an increase in memory

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Module for Server Applications 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected
SUSE Linux Enterprise Server 16.0 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy