MongoDB 5.0.31 vulnerabilities

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

6CVEs
1critical (CVSS 9+)
5high (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 release5 of 61 exploited, 1 critical1CVE-2026-9753none
9.0.8newest releaseall 61 exploited, 1 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.31

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-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-2026-120828Memory exhaustion via abandoned far-future read-concern waiters in disaggregated storage7.5None knownunder 1%5.0.35CVE record

Fixed since 5.0.30

5 CVEs that affect 5.0.30, the release before it, do not affect 5.0.31 (1 critical):

  • CVE-2025-3085 MongoDB Server running on Linux may allow unexpected connections where intermediate certificates are revoked CVSS 9.8
  • CVE-2025-3083 Malformed MongoDB wire protocol messages may cause mongos to crash CVSS 7.5
  • CVE-2025-3084 MongoDB Server may crash due to improper validation of explain command CVSS 6.5
  • CVE-2025-6707 Race condition in privilege cache invalidation cycle CVSS 5.4
  • CVE-2025-3082 User may override a view's collation and gain unauthorized access to underlying data CVSS 5.4

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.3011 5.0.2912 5.0.2812 5.0.2712 5.0.2613 5.0.2513 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.