A critical use-after-free vulnerability exists in the replication component of MongoDB Server affecting replica set primary catch-up. This flaw can be triggered by unauthenticated requests and may cause the server to crash or allow arbitrary code execution. The vulnerability impacts replica set members, including shard and config server members in sharded clusters, but not standalone mongod instances. Fixed versions have been released across multiple MongoDB major versions.