Skip to main content

Semantic MediaWiki EUVDEUVD-2026-123080

| CVE-2026-126565 MEDIUM
Inefficient Algorithmic Complexity (CWE-407)
2026-11-11 VulnCheck GHSA-vpc6-m642-jj3j
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain ordinary page-edit rights on wiki
  2. Delivery
    Plant acyclic Concept: page fan-out within size limits
  3. Exploit
    Visitor queries top concept via Special:Ask/api.php
  4. Execution
    Unmemoized expansion grows ~6x per level
  5. Impact
    PHP exhausts CPU and memory, request OOMs

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Algorithmic complexity limits
Exploitation Conditions

Requires a wiki configured with the ElasticStore or SPARQLStore query backend - the default SQLStore is NOT vulnerable because it memoizes the shared concept segment and checks stored concept_size/concept_depth against query limits. The attacker needs ordinary page-edit rights (PR:L) to create Concept: pages, and must build an acyclic fan-out of concepts, each a six-way disjunction sized within the default $smwgQConceptMaxSize of 20 (the per-concept size/depth limits do not contain the aggregate because a ConceptDescription counts as size 1 / depth 0, and the CircularReferenceGuard blocks only true cycles, not DAGs). Exploitation then fires when any visitor - including unauthenticated/anonymous readers, no user interaction from the attacker needed - queries the top concept via a concept page view, Special:Ask, api.php?action=ask, or a {{#ask}} parser call. Limiting factors: the non-default Elastic/SPARQL backend requirement, the need for edit rights, and that each abort is per-request (though the planted pages make it persistent and repeatable).

Impact

This is a genuine but moderate-priority availability issue, not a drop-everything emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L) scores 5.3 and encodes the key tension: it is network-reachable and low-complexity, but requires PR:L - the attacker must hold ordinary page-edit rights - and impacts availability only (VA:L, no confidentiality/integrity). The vuln.today decision label is 'this_month', consistent with a moderate severity rather than act_now/emergency. No EPSS probability and no CISA KEV entry are present in the input, so there is no signal of active or widespread exploitation; this appears to be a VulnCheck-reported research finding rather than an observed campaign. What elevates it above a trivial self-DoS is the amplification and persistence: an editor plants a handful of Concept: pages once, and thereafter every visitor - including anonymous readers - who queries the top concept triggers ~6x-per-level resource expansion until PHP aborts, so a single low-privilege actor converts normal read traffic into a durable denial of service. What constrains it: only ElasticStore- and SPARQLStore-backed wikis are affected (the default SQLStore is explicitly safe because it memoizes and checks concept_size/concept_depth), and edit rights are required. Note a classification discrepancy: the input lists CWE-407 (inefficient algorithmic complexity) while the GHSA advisory primarily cites CWE-400 (uncontrolled resource consumption), also referencing CWE-405; these are compatible framings of the same amplification flaw.

Exploit ScenarioDerived

On a Semantic MediaWiki wiki backed by ElasticStore or SPARQLStore, an authenticated user with ordinary edit rights creates concepts Concept:C0…C8 as six-way disjunctions (each stored at concept_size 18, within the default $smwgQConceptMaxSize of 20) that fan out into a shared acyclic DAG. Any later visitor - including an anonymous one - who queries the top concept via the concept page, Special:Ask, api.php?action=ask, or {{#ask}} causes each sub-concept to be re-expanded once per path, multiplying CPU, memory and _CONC database lookups roughly sixfold per level until PHP exhausts memory and aborts the request. The GHSA advisory supplies detailed step-by-step reproduction with measured timings (OOM at fan depth 6), though no packaged weaponized exploit is confirmed.

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 – Nov 11, 2026

Semantic MediaWiki 3.0.0 through 7.4.0 running on the ElasticStore or SPARQLStore query backends allows an authenticated editor to exhaust server CPU and memory for every visitor by planting an acyclic fan-out of Concept: pages: each query against the top concept re-expands the shared sub-concepts once per path, so interpreter work grows roughly sixfold per nesting level until PHP aborts the request. Only the non-default Elastic/SPARQL backends are affected - the default SQLStore memoizes the shared concept segment and validates stored concept_size/concept_depth against query limits - and the attacker needs ordinary page-edit rights (CVSS 3.1 PR:L, AV:N), with the damage landing on unauthenticated readers who merely query the planted concept via a concept page view, Special:Ask, api.php?action=ask or {{#ask}}. The vendor advisory publishes a detailed reproduction recipe (nine concepts, six-way disjunction, OOM at fan depth 6 with memory_limit=128M), but that is a proof-of-concept reference rather than confirmed standalone exploit code; there is no KEV listing and no EPSS score in the supplied data. Impact is availability only, per-request in effect, though the planted pages make the condition persistent and repeatable.

RemediationAI

Upgrade to Semantic MediaWiki 7.4.1, the vendor-released fix: it introduces SMW\Utils\ConceptExpansionGuard, instantiated with DEFAULT_MAX_EXPANSIONS in both the Elastic and SPARQL DescriptionInterpreterFactory paths, and acquires/releases that budget around each concept interpretation so an exhausted budget raises an 'smw-query-condition-circular' error instead of unbounded re-expansion (fix commit 86ce13254ffd91406ef43ea403ae072a7e3a38b3, release note https://github.com/SemanticMediaWiki/SemanticMediaWiki/releases/tag/7.4.1, advisory https://github.com/SemanticMediaWiki/SemanticMediaWiki/security/advisories/GHSA-24v2-mf3g-84ch). Where an immediate upgrade is not possible, the effective compensating control is to move the wiki to the default SQLStore backend, which memoizes the shared concept segment and validates stored concept_size/concept_depth, making the amplification path unreachable - at the cost of losing Elasticsearch-backed search and SPARQL federation features; alternatively, restrict the right to create or edit pages in the Concept: namespace to trusted editors (this closes PR:L but not the exposure from concept pages that already exist) or lower $smwgQConceptMaxSize so deep six-way fan-outs fail validation, which reduces but does not eliminate amplification since the aggregate is still unbounded. Note the other, separately tracked ElasticStore recursion issue (GHSA-jwx8-mm92-gv95) also fixed in 7.4.1.

Affected VersionsENISA

SemanticMediaWiki 3.0.0 <7.4.1

Affected Packages

euvd semanticmediawiki fix: 7.4.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

Semantic MediaWiki's Concept: pages store a query in the _CONC property; when another query references [[Concept:Ci]], the store's DescriptionInterpreter must fetch that stored query string, parse it, and map it to a store-specific condition. In the ElasticStore (src/Elastic/QueryEngine/DescriptionInterpreters/ConceptDescriptionInterpreter.php) and SPARQLStore (src/SPARQLStore/QueryEngine/DescriptionInterpreters/ConceptDescriptionInterpreter.php) engines this expansion was neither memoized per concept id nor bounded by any total budget, yielding an inefficient-algorithmic-complexity flaw (CWE-407, described in the advisory as CWE-400 / CWE-405 amplification). The existing safeguards do not contain it: ConceptDescription::getSize()/getDepth() report 1 and 0 respectively and never reflect the nested concept, so $smwgQMaxSize / $smwgQMaxDepth never see the expanded total; the per-concept $smwgQConceptMaxSize of 20 constrains each stored concept (a six-way disjunction stores at concept_size 18) but not the aggregate; and the SPARQLStore CircularReferenceGuard, which the fix explicitly notes blocks only true cycles, does not stop a DAG that revisits shared sub-concepts along many disjunct paths. Each expansion additionally performs a _CONC lookup and a full query parse, so cost escalates in memory, CPU and database round-trips while the HTTP response stays a constant 268 bytes. The SQLStore engine is structurally immune because it memoizes the shared concept segment via findDuplicates and checks the stored concept_size/concept_depth against the query limits - the fix ports that bounding idea to the other two engines as a ConceptExpansionGuard (DEFAULT_MAX_EXPANSIONS) acquired around the interpretation of each concept and released afterward, emitting an 'smw-query-condition-circular' error when the budget is exhausted. A separate mutual/transitive recursion issue in ElasticStore is tracked as GHSA-jwx8-mm92-gv95.

Know when PHP 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 (VulnCheck) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 4.3 MEDIUM

Requires page-edit rights so PR:L; low-complexity, network-reachable; availability-only impact where each malicious query aborts under resource exhaustion, so A:L and C:N/I:N.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

Semantic MediaWiki 3.0.0 before 7.4.1 contains a denial of service vulnerability in the ElasticStore and SPARQLStore ConceptDescriptionInterpreter classes, which re-expand concepts without memoization or an expansion budget. Users with page-edit rights can build acyclic chains of Concept: pages that fan out, so queries via concept page views, Special:Ask, or api.php action=ask exhaust CPU and memory.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Low
niche MediaWiki extension; only Elastic/SPARQL store backends affected, not default SQLStore
Data Quality
6 sources
Confidence: High

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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

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