MongoDB 4.2.22 vulnerabilities

2 published vulnerabilities affect MongoDB 4.2.22, 1 of them known to be exploited in the wild. The 4.2 line no longer gets security fixes.

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

What to upgrade to

The newest release on the 4.2 line is 4.2.25, with 2 known CVEs. The newest MongoDB release we know of is 9.0.8, with no known CVEs.

Upgrade toFixesStill openNew in that release
4.2.25newest 4.2 releasenone2CVE-2025-14847, CVE-2026-9753none
9.0.8newest releaseall 21 exploitednonenone

"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 4.2.22

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-2025-14847Zlib compressed protocol header length confusion may allow memory read7.5Exploited79%4.4.30CVE record
CVE-2026-9753Server crash via malformed binary diff passed to $_internalApplyOplogUpdate.8.1None knownunder 1%7.0.35NVD

Support for the 4.2 line

The 4.2 line was first released 31 August 2019. Security fixes for it ended 30 April 2023, so vulnerabilities found since then stay open on every 4.2 release. Its latest release is 4.2.25. Dates and latest release from endoflife.date.

Other MongoDB 4.2 releases

4.2.252 4.2.242 4.2.232 4.2.212 4.2.202 4.2.192 4.2.182 4.2.172 4.2.163 4.2.155 4.2.145 4.2.135 4.2.125 4.2.115

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.