AI and data stack advisories

Severe, 6 weeks2431Projects328

2431 severe, 6 weeks · 328 projects

MongoDBGHSA-wx62-4j8r-3329

MongoDB: memory leak

MongoDB

CVE-2026-120678 · Published Nov 3, 2026

High8.7
Fix: upgrade to 1.30.15 or later (2 fixed versions below)
GitHub advisory

Impact

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.

Patches

The issue is fixed in MongoDB C Driver 1.30.15 and 2.5.8.

Workarounds

None.

References

  • https://github.com/mongodb/mongo-c-driver/releases/tag/1.30.15
  • https://github.com/mongodb/mongo-c-driver/releases/tag/2.5.8
  • https://jira.mongodb.org/browse/CDRIVER-6521

Affected versions

PackageAffectedFixed in
MongoDB C Driver
Product
>= 1.25.0, < 1.30.151.30.15
>= 2.0.0, < 2.5.82.5.8
Details and references
CVSS 4.0
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
Severity from
GitHub (reviewed advisory)
Weakness
CWE-401

More MongoDB advisories

All MongoDB