MongoDB 5.x — End of Life

EOL Actively exploited
EOL: Jul 19, 20224 releases in this series3 CVEs

MongoDB 5.x reached end of life on Jul 19, 2022, 1557 days ago, and no longer receives security fixes. The most recent release in this series is 5.3.2. 3 CVEs are tracked for this series, including 1 actively exploited according to CISA KEV. 3 of them were published after the end of life of the affected cycle and will not get an official patch. The next major version is MongoDB 6. See MongoDB 6 →

MongoDB 5.x — All releases

VersionReleasedActive supportEOL dateLatest patchStatusAlert me
5.3Mar 31, 2022—Jul 19, 20225.3.2EOL
5.2Jan 31, 2022—Mar 23, 20225.2.1EOL
5.1Nov 30, 2021—Jan 19, 20225.1.1EOL
5.0Jul 31, 2021—Oct 31, 20245.0.34EOL

CVEs affecting MongoDB 5.x (6)

CVESeverityCVSSEPSSKEVCycleDescriptionPublished
CVE-2026-9753HIGH8.10.52%—5.1The $_internalApplyOplogUpdate aggregation pipeline stage can be used to execute a document diff containing a malformed …Jun 9, 2026
CVE-2026-9753HIGH8.10.52%—5.2The $_internalApplyOplogUpdate aggregation pipeline stage can be used to execute a document diff containing a malformed …Jun 9, 2026
CVE-2026-9753HIGH8.10.52%—5.0The $_internalApplyOplogUpdate aggregation pipeline stage can be used to execute a document diff containing a malformed …Jun 9, 2026
CVE-2026-9753HIGH8.10.52%—5.3The $_internalApplyOplogUpdate aggregation pipeline stage can be used to execute a document diff containing a malformed …Jun 9, 2026
CVE-2026-8053HIGH8.80.65%—5.0An issue in MongoDB Server's time-series collection implementation allows an authenticated user with database write priv…May 13, 2026
CVE-2025-14847HIGH7.583.21% KEV 5.0Mismatched length fields in Zlib compressed protocol headers may allow a read of uninitialized heap memory by an unauthe…Dec 19, 2025

MongoDB 5.x is EOL — migrate to MongoDB 6.x

MongoDB 6.x is the next major release. Plan your upgrade before MongoDB 5.x stops receiving security patches.

See MongoDB 6.x

Add a MongoDB 5 EOL badge to your README

Show your users which MongoDB version your project runs and whether it is still supported. The badge updates automatically. More formats and options →

MongoDB 5 EOL status
[![MongoDB 5 EOL status](https://eolcanary.com/badge/mongodb/5.svg)](https://eolcanary.com/explore/mongodb/5)

Frequently asked questions

Is MongoDB 5 end of life?

Yes. All MongoDB 5.x releases have reached end of life and no longer receive security patches. There are 3 known CVEs affecting MongoDB 5.x. Migrate to MongoDB 6.x as soon as possible.

What CVEs affect MongoDB 5?

There are 3 CVEs tracked for MongoDB 5.x and 1 listed in the CISA Known Exploited Vulnerabilities catalog. See the full list above with CVSS and EPSS scores.

What is the latest MongoDB 5 version?

The latest MongoDB 5.x patch release is 5.3.2, released on June 15, 2022. Always run the latest patch to benefit from all security fixes.

How to migrate from MongoDB 5 to MongoDB 6?

To migrate from MongoDB 5 to MongoDB 6: (1) review the official MongoDB 6 migration guide for breaking changes, (2) update dependencies and configuration accordingly, (3) test thoroughly in a staging environment, (4) deploy with a rollback plan. Starting early gives you time to resolve compatibility issues before your current version reaches end of life.

Is it safe to run MongoDB 5 in production?

No. MongoDB 5 has reached end of life and security vulnerabilities are no longer patched. Critically, 1 CVE affecting MongoDB 5.x is in the CISA KEV catalog — meaning it is actively exploited in the wild. Upgrade to a supported version immediately.

Data sourced from endoflife.date · CVE data from NVD · EPSS from FIRST.org · KEV from CISA