CVE-2025-61766 Bucket vulnerable to infinite recursion when querying a bucket using the != operator

Medium 6.5 Published Updated

Attackers can cause denial of service in MediaWiki Bucket extension by triggering infinite recursion via the != operator in queries.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-61766?

CVE-2025-61766 is a medium-severity denial of service vulnerability in weirdgloop mediawiki-extensions-Bucket, published on 6 Oct 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Bucket is a MediaWiki extension to store and retrieve structured data on articles. Prior to version 1.0.0, infinite recursion can occur if a user queries a bucket using the `!=` comparator. This will result in PHP's call stack limit exceeding, and/or increased memory consumption, potentially leading to a denial of service. Version 1.0.0 contains a patch for the issue.

Weakness: CWE-674

Which versions are affected by CVE-2025-61766?

How do I fix CVE-2025-61766?

No fix has been published for CVE-2025-61766 yet. Limit exposure of the affected software until one is available.

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-61766 being exploited?

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

Sources

Also known as GHSA-r9f2-4jh3-659j, UBUNTU-CVE-2025-61766.

Is CVE-2025-61766 in your software?

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

Check your SBOMs for free