CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2025 · Mongodb

CVE-2025-6710
Mongodb vulnerability

MongoDB Server may be susceptible to stack overflow due to JSON parsing mechanism, where specifically crafted JSON inputs may induce unwarranted levels of recursion, resulting in excessive stack space consumption. Such inputs can lead to a stack overflow that causes the server to crash which could occur pre-authorisation. This issue affects MongoDB Server v7.0 versions prior to 7.0.17 and MongoDB Server v8.0 versions prior to 8.0.5. The same issue affects MongoDB Server v6.0 versions prior to 6.0.21, but an attacker can only induce denial of service after authenticating.

Affected products

Mongodb. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Mongodb runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Mongodb products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.