CVE-2021-42040: Mediawiki

High severity, CVSS 7.5. EPSS: 1.2% chance of exploitation in the next 30 days.

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 products

  • Mediawiki Mediawiki: up to and including 1.36.2

Published 2021-10-06. Last modified 2026-06-17.