7.5

CVE-2021-42040: mediawiki Infinite Loop

CVSS: 7.5v3.1HighModified
AliasesUBUNTU-CVE-2021-42040
Published 06-10-2021Last modified 04-08-2024

Vulnerability summary

CVE-2021-42040 is a high (CVSS 7.5) Infinite Loop vulnerability in mediawiki. EPSS estimates a 1.16% chance of exploitation in the next 30 days, higher than 66.6% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
1.16%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 06-10-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

1.16%

Chance of exploitation in the next 30 days

Percentile

67%

Versus all other CVEs

30-day change

0.00 pp

From 1.16% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.16%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Mediawiki1 product
Ubuntu1 product
  • mediawikiAll versions (No fix recorded)

2 vendors · 2 products

References

4 links