🛡️ CVE-2021-42040 — mediawiki
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 software
CVE-2021-42040 is recorded against 1 package.
- mediawiki
Timeline and source
Published on 6 March 2024 and last revised on 3 April 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
gerrit.wikimedia.org (Web)
phabricator.wikimedia.org (Web)
nvd.nist.gov (Web)
CVE-2021-42040 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| mediawiki | — | — |
References
Similar Threats
- Critical CVE-2020-10534
- High CVE-2020-25869
- Medium CVE-2020-26120
- Medium CVE-2020-27621
- Medium CVE-2020-27957
More CVE 2021 advisories
Browse all of CVE 2021 in the advisory index.
Site Security Check
Is mediawiki part of your stack?
CVE-2021-42040 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.