MongoDB 5.0.23 vulnerabilities
15 published vulnerabilities affect MongoDB 5.0.23, 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 | 14 of 151 exploited, 3 critical | 1CVE-2026-9753 | none |
| 9.0.8newest release | all 151 exploited, 3 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.23
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-2025-3085MongoDB Server running on Linux may allow unexpected connections where intermediate certificates are revoked | 9.8 | None known | under 1% | 5.0.31CVE record |
| CVE-2024-1351MongoDB Server may allow successful untrusted connection | 9.8 | None known | under 1% | 5.0.25CVE 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-2024-10921Improper neutralization of null bytes may lead to buffer over-reads in MongoDB Server | 8.1 | None known | under 1% | 5.0.30CVE record |
| CVE-2024-7553Accessing Untrusted Directory May Allow Local Privilege Escalation | 7.8 | None known | under 1% | 5.0.27CVE record |
| CVE-2026-120828Memory exhaustion via abandoned far-future read-concern waiters in disaggregated storage | 7.5 | None known | under 1% | 5.0.35CVE record |
| CVE-2025-3083Malformed MongoDB wire protocol messages may cause mongos to crash | 7.5 | None known | under 1% | 5.0.31CVE record |
| CVE-2024-3372MongoDB Server may have unexpected application behaviour due to invalid BSON | 7.5 | None known | under 1% | 5.0.25CVE record |
| CVE-2025-3084MongoDB Server may crash due to improper validation of explain command | 6.5 | None known | under 1% | 5.0.31CVE record |
| CVE-2025-6707Race condition in privilege cache invalidation cycle | 5.4 | None known | under 1% | 5.0.31CVE record |
| CVE-2025-3082User may override a view's collation and gain unauthorized access to underlying data | 5.4 | None known | under 1% | 5.0.31CVE record |
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.2513 5.0.2415 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.