Skip to content
CVE PROGRAM SOURCE RECORD8.7 High

CVE-2026-120678

MongoDB C Driver leaks the decompressed reply buffer when an OP_COMPRESSED reply fails to parse (denial of service)

Description

A memory management flaw in the MongoDB C Driver's handling of compressed responses may cause the client library to hold on to memory that is never released. An unauthenticated party that controls the database endpoint a client application connects to may cause repeated, unbounded memory growth in that application, which may result in the application becoming unavailable. No credentials, transport security settings, or user interaction are required.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

MongoDB C Driver

Default version status: unaffected

  • 1.25.0 to ≤ 1.30.14affected
  • 2.0.0 to ≤ 2.5.7affected

References