CVE-2026-120678 PUBLISHED

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

Assigner: mongodb
Reserved: 02.11.2026 Published: 03.11.2026 Updated: 03.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.7

Product Status

Vendor MongoDB
Product C Driver
Versions Default: unaffected
  • affected from 1.25.0 to 1.30.14 (incl.)
  • affected from 2.0.0 to 2.5.7 (incl.)

References

Problem Types

  • CWE-401: Missing Release of Memory after Effective Lifetime CWE