Back to security alerts
Critical

MongoDB replication use-after-free vulnerability

MongoDB

What happened

A use‑after‑free in the replication component may cause the server to terminate or, under certain conditions, execute arbitrary code.

Are you affected?

MongoDB Server versions >=4.4.0 and <4.4.32, >=5.0.0 and <5.0.35, >=6.0.0 and <6.0.30, >=7.0.0 and <7.0.48, >=8.0.0 and <8.0.37, >=8.3.0 and <8.3.16, >=9.0.0 and <9.0.7

What to do now

  1. Upgrade to MongoDB Server 4.4.32 or later, 5.0.35 or later, 6.0.30 or later, 7.0.48 or later, 8.0.37 or later, 8.3.16 or later, or 9.0.7 or later.

Sources

Data sources: cve.now, CISA KEV, GitHub Advisory Database, OSV.

This product uses data from the NVD API but is not endorsed or certified by the NVD.

Not sure if your app is affected?

Get a free Finish Line Scan and a senior engineer will tell you what to fix.

Get a free scan