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.
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 to | Fixes | Still open | New in that release |
|---|---|---|---|
| 5.0.35newest 5.0 release | 5 of 61 exploited, 1 critical | 1CVE-2026-9753 | none |
| 9.0.8newest release | all 61 exploited, 1 critical | none | none |
"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.
| CVE | CVSS | Exploitation | EPSS | Fixed in |
|---|---|---|---|---|
| CVE-2026-118383Pre-authentication use-after-free in MongoDB Server replica set primary catch-up | 10.0 | None known | under 1% | 5.0.35CVE record |
| CVE-2025-14847Zlib compressed protocol header length confusion may allow memory read | 7.5 | Exploited | 79% | 5.0.32CVE record |
| CVE-2026-11933Post-authentication use-after-free in server-side JavaScript BSON-to-array conversion | 8.8 | None known | under 1% | 5.0.34CVE record |
| CVE-2026-8053FlatBSON Duplicate Field Index Drift | 8.8 | None known | under 1% | 5.0.33CVE record |
| CVE-2026-9753Server crash via malformed binary diff passed to $_internalApplyOplogUpdate. | 8.1 | None known | under 1% | 7.0.35NVD |
| CVE-2026-120828Memory exhaustion via abandoned far-future read-concern waiters in disaggregated storage | 7.5 | None known | under 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
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.