CVE-2025-61641 API list=allpages with maxsize is making really slow queries

Low 1.7 Published Updated

Attackers can cause denial of service in MediaWiki by triggering slow queries via the allpages API with maxsize parameter.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-61641?

CVE-2025-61641 is a low-severity denial of service vulnerability in Mediawiki Mediawiki, published on 2 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Vulnerability in Wikimedia Foundation MediaWiki. This vulnerability is associated with program files includes/api/ApiQueryAllPages.Php.

This issue affects MediaWiki: from * before 1.39.14, 1.43.4, 1.44.1.

Weakness: CWE-22

Which versions are affected by CVE-2025-61641?

It affects 1 product.

Products include Mediawiki Mediawiki.

How do I fix CVE-2025-61641?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-61641 being exploited?

There is no known exploitation of CVE-2025-61641 in the wild and no public exploit code.

All Mediawiki Mediawiki vulnerabilities

Sources

Also known as DEBIAN-CVE-2025-61641, GHSA-qmgg-3m8p-p8cc, UBUNTU-CVE-2025-61641.

Is CVE-2025-61641 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free