Vulnerability · Published Oct 6, 2021 · Assigned by mitre
CVE-2021-42040
High 7.5
In plain English
A high-severity security flaw in the mediawiki package (Ubuntu). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 67% of all known vulnerabilities).
Severity (CVSS NVD)7.5High
Exploit odds (30 days)1.2%top 32.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
An issue was discovered in MediaWiki through 1.36.2. A parser function related to loop control allowed for an infinite loop (and php-fpm hang) within the Loops extension because egLoopsCountLimit is mishandled. This could lead to memory exhaustion.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:25.10 | mediawiki | no fix listed | UBUNTU-CVE-2021-42040 |
| Ubuntu:26.04:LTS | mediawiki | no fix listed | UBUNTU-CVE-2021-42040 |
| Ubuntu:26.10 | mediawiki | no fix listed | UBUNTU-CVE-2021-42040 |
Affected products (as reported)
References
- https://phabricator.wikimedia.org/T287347 x_refsource_MISC
- https://gerrit.wikimedia.org/r/q/I0caf6f129f94612b5bcf406a171aa5ffedea1f80 x_refsource_MISC