CVE-2026-132672 in MediaWiki
Summary
by MITRE • 11/25/2026
Uncontrolled Resource Consumption vulnerability in Wikimedia Foundation MediaWiki. This vulnerability is associated with program files includes/Search/SearchHighlighter.php. This issue affects MediaWiki: from 1.43.0 before 1.43.12, from 1.45.0 before 1.45.7, from 1.46.0 before 1.46.3, 1.47.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Analysis
by VulDB Data Team • 11/25/2026
The vulnerability identified in Wikimedia Foundation MediaWiki represents a classic uncontrolled resource consumption flaw located within the SearchHighlighter.php component of the application's search functionality. This specific file is responsible for processing and rendering search results by highlighting matching terms within page content, a feature critical to user experience but also susceptible to abuse if input handling is not strictly bounded. The issue affects multiple major branches of MediaWiki, specifically versions from 1.43.0 up to but excluding 1.43.12, versions from 1.45.0 up to but excluding 1.45.7, the initial release of version 1.46.0 before patch level 3, and all subsequent releases including version 1.47 prior to a fix being applied. This widespread impact across recent major versions indicates that the underlying logic for handling search query parameters or result formatting has been consistently vulnerable since at least early 2024, leaving numerous public-facing wiki instances exposed to potential denial of service attacks.
From a technical perspective, uncontrolled resource consumption typically arises when an application fails to properly validate, sanitize, or limit the size and complexity of user-supplied input before processing it through computationally expensive operations. In the context of MediaWiki's search highlighter, this likely involves scenarios where specific search queries trigger excessive memory allocation or CPU cycles during the text matching and highlighting process. An attacker could craft a specially designed search query that forces the server to perform recursive string manipulations, generate disproportionately large output buffers, or enter infinite loops while attempting to locate and mark matches within page content. This behavior does not necessarily involve code execution but rather exploits the efficiency of the underlying algorithms used for text processing, leading to significant degradation in system performance when triggered by malicious actors.
The operational impact of this vulnerability is primarily centered on availability, aligning with the ATT&CK technique T1496 Resource Hijacking or potentially T1499 Endpoint Denial of Service depending on the scale and persistence of the attack. By repeatedly sending resource-intensive search queries, an adversary can exhaust server resources such as memory, CPU time, or network bandwidth associated with web application processes. This results in a denial of service condition where legitimate users are unable to access wiki content due to slow response times or complete unavailability of the service. For high-traffic wikis like those hosted by Wikimedia Foundation, even minor inefficiencies can be amplified under load, making this vulnerability particularly dangerous as it allows for low-effort disruption of critical information services without requiring authentication or complex exploitation chains beyond basic HTTP request manipulation.
Mitigation strategies must focus on immediate patching and architectural hardening. The primary remediation is to upgrade MediaWiki installations to the fixed versions specified by the vendor: 1.43.12, 1.45.7, 1.46.3, or later releases of version 1.47 that include the security patch for this specific flaw. For organizations unable to immediately update their core software due to compatibility constraints, temporary mitigations should be implemented at the web server or reverse proxy level. This includes implementing rate limiting on search endpoints to restrict the number of queries a single IP address can execute within a given timeframe, thereby throttling potential abuse before it reaches the application layer. Additionally, configuring timeouts for database and PHP processes can prevent long-running highlighter operations from consuming excessive resources indefinitely.
From an industry standard perspective, this vulnerability maps directly to CWE-400 Uncontrolled Resource Consumption, which describes situations where a software process does not properly control the allocation and maintenance of a limited resource, thereby causing that resource to be exhausted. It also relates closely to CWE-770 Allocation of Resources Without Limits or Throttling in Cloud Environments if deployed within such infrastructures, as well as general principles of secure coding found in OWASP guidelines regarding input validation and output encoding. Security teams should audit their MediaWiki deployments for these specific version ranges and prioritize patching during the next maintenance window to restore full availability guarantees and prevent potential service disruptions caused by malicious resource exhaustion attacks.