CVE-2025-11979: Use-after-free in the MongoDB server query planner may lead to crash or undefined behavior
An authorized user may crash the MongoDB server by causing buffer over-read. This can be done by issuing a DDL operation while queries are being issued, under some conditions. This issue affects MongoDB Server v7.0 versions prior to 7.0.25, MongoDB Server v8.0 versions prior to 8.0.15, and MongoDB Server version 8.2.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
MongoDB Serverto a version that resolves this vulnerability.Fixed in 7.0.25 - Upgrade
Upgrade
MongoDB Serverto a version that resolves this vulnerability.Fixed in 8.0.15
Event History
Frequently Asked Questions
What is the severity of CVE-2025-11979?
CVE-2025-11979 is considered a high-severity vulnerability due to its potential to crash the MongoDB server.
How do I fix CVE-2025-11979?
To fix CVE-2025-11979, upgrade to MongoDB Server version 7.0.25 or later for v7.0 and 8.0.1 or later for v8.0.
Who is affected by CVE-2025-11979?
CVE-2025-11979 affects MongoDB Server versions prior to 7.0.25 and 8.0.1.
What are the consequences of exploiting CVE-2025-11979?
Exploiting CVE-2025-11979 can lead to a denial of service by crashing the MongoDB server.
Can unauthorized users exploit CVE-2025-11979?
No, only authorized users can exploit CVE-2025-11979 under specific conditions.