CVE-2025-6712 MongoDB Server may be susceptible to DoS due to Accumulated Memory Allocation

Medium 6.5 Published Updated

Attackers can cause MongoDB Server crashes by triggering excessive memory allocation during internal operations, impacting availability.

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

What is CVE-2025-6712?

CVE-2025-6712 is a medium-severity denial of service vulnerability in Mongodb Mongodb, published on 7 Jul 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

MongoDB Server may be susceptible to disruption caused by high memory usage, potentially leading to server crash. This condition is linked to inefficiencies in memory management related to internal operations. In scenarios where certain internal processes persist longer than anticipated, memory consumption can increase, potentially impacting server stability and availability. This issue affects MongoDB Server v8.0 versions prior to 8.0.10

Weakness: CWE-400

Which versions are affected by CVE-2025-6712?

1 open source package ship an affected version, including mongodb. It affects 1 product.

PackageAffectedFixed in
mongodb BitnamiFrom 8.0.08.0.10

Products include Mongodb Mongodb.

How do I fix CVE-2025-6712?

Upgrade mongodb to 8.0.10 or later.

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

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

All Mongodb Mongodb vulnerabilities

Sources

Also known as BIT-mongodb-2025-6712, GHSA-r82f-c679-wqmp, MINI-4xjq-25ff-4h5h, UBUNTU-CVE-2025-6712.

Is CVE-2025-6712 in your software?

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

Check your SBOMs for free