MongoDB 5.0.25 vulnerabilities

13 published vulnerabilities affect MongoDB 5.0.25, 1 of them known to be exploited in the wild. The 5.0 line no longer gets security fixes.

13CVEs
2critical (CVSS 9+)
8high (CVSS 7–8.9)
1exploited in the wild

What to upgrade to

The newest release on the 5.0 line is 5.0.35, with 1 known CVE. The newest MongoDB release we know of is 9.0.8, with no known CVEs.

Upgrade toFixesStill openNew in that release
5.0.35newest 5.0 release12 of 131 exploited, 2 critical1CVE-2026-9753none
9.0.8newest releaseall 131 exploited, 2 criticalnonenone

"Fixes": CVEs on this page that don't affect that release. "New in that release": CVEs that affect it and not this one.

CVEs affecting MongoDB 5.0.25

Worst first: ranked by Dawnsentry's score for a device that faces the internet (CVSS, plus known exploitation and EPSS). "Fixed in" is the first release that carries the fix, where the source names one.

CVECVSSExploitationEPSSFixed in
CVE-2026-118383Pre-authentication use-after-free in MongoDB Server replica set primary catch-up10.0None knownunder 1%5.0.35CVE record
CVE-2025-14847Zlib compressed protocol header length confusion may allow memory read7.5Exploited79%5.0.32CVE record
CVE-2025-3085MongoDB Server running on Linux may allow unexpected connections where intermediate certificates are revoked9.8None knownunder 1%5.0.31CVE record
CVE-2026-11933Post-authentication use-after-free in server-side JavaScript BSON-to-array conversion8.8None knownunder 1%5.0.34CVE record
CVE-2026-8053FlatBSON Duplicate Field Index Drift8.8None knownunder 1%5.0.33CVE record
CVE-2026-9753Server crash via malformed binary diff passed to $_internalApplyOplogUpdate.8.1None knownunder 1%7.0.35NVD
CVE-2024-10921Improper neutralization of null bytes may lead to buffer over-reads in MongoDB Server8.1None knownunder 1%5.0.30CVE record
CVE-2024-7553Accessing Untrusted Directory May Allow Local Privilege Escalation7.8None knownunder 1%5.0.27CVE record
CVE-2026-120828Memory exhaustion via abandoned far-future read-concern waiters in disaggregated storage7.5None knownunder 1%5.0.35CVE record
CVE-2025-3083Malformed MongoDB wire protocol messages may cause mongos to crash7.5None knownunder 1%5.0.31CVE record
CVE-2025-3084MongoDB Server may crash due to improper validation of explain command6.5None knownunder 1%5.0.31CVE record
CVE-2025-6707Race condition in privilege cache invalidation cycle5.4None knownunder 1%5.0.31CVE record
CVE-2025-3082User may override a view's collation and gain unauthorized access to underlying data5.4None knownunder 1%5.0.31CVE record

Fixed since 5.0.24

2 CVEs that affect 5.0.24, the release before it, do not affect 5.0.25 (1 critical):

  • CVE-2024-1351 MongoDB Server may allow successful untrusted connection CVSS 9.8
  • CVE-2024-3372 MongoDB Server may have unexpected application behaviour due to invalid BSON CVSS 7.5

Support for the 5.0 line

The 5.0 line was first released 31 July 2021. Security fixes for it ended 31 October 2024, so vulnerabilities found since then stay open on every 5.0 release. Its latest release is 5.0.35. Dates and latest release from endoflife.date.

Other MongoDB 5.0 releases

5.0.351 5.0.343 5.0.334 5.0.325 5.0.316 5.0.3011 5.0.2912 5.0.2812 5.0.2712 5.0.2613 5.0.2415 5.0.2315 5.0.2215 5.0.2116

All MongoDB versions

How this list is made

These are the CVEs Dawnsentry matches to each MongoDB version, with the same engine its customers use. Where the vendor publishes its own advisory, that decides whether a version is affected, down to hotfix level; otherwise the CVE record and NVD's version data decide. CVSS comes from NVD or the reporting organisation, exploitation from CISA's Known Exploited Vulnerabilities catalogue, CISA's ratings, Metasploit and Nuclei, and EPSS (the probability of exploitation in the next 30 days) from FIRST. The list is rebuilt every day. Always confirm against the vendor's advisory before you act on it.

Updated 2 December 2026.