Memory leak in MongoDB C Driver when compressed replies fail to parse
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-401.
Summary
MongoDB C Driver versions from 1.25.0 through 1.30.14 and from 2.0.0 through 2.5.7 are affected. A memory management flaw in handling compressed responses (CWE-401) makes the client library hold memory that is never released. An unauthenticated party that controls the database endpoint an application connects to can cause repeated, unbounded memory growth, which may make the application unavailable. No credentials or user interaction are required.
Written with Claude Haiku 5.5 from the sources below · 2026-11-04
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
The sources list no fixed version for MongoDB C Driver.
Written with Claude Haiku 5.5 from the sources below · 2026-11-04
Vendor assessments
Timeline
- 2026-11-03 Threatist record created from CVE-2026-120678
- 2026-11-03 Title updated · CNA
- 2026-11-04 Affected versions changed · Red Hat
- 2026-11-04 CVSS score added · Red Hat
- 2026-11-05 Priority changed: MEDIUM → LOW
References
More MongoDB vulnerabilities
- TI-2019-08023 Code injection in mongo-express KEVCVSS 3.1CRITICAL 9.9
- TI-2025-13542 Zlib compressed protocol header length confusion may allow memory read KEVCVSS 4.0HIGH 8.7
- TI-2026-79432 BSON output corruption via out-of-range binary subtype in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
- TI-2026-79424 NoSQL command injection via mismatched BSON length in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
- TI-2026-79422 Unbounded memory growth in MongoDB C# Driver BSON deserialization CVSS 4.0HIGH 8.2
- TI-2026-79427 Authentication bypass via issuer-and-serial-only certificate equality CVSS 4.0HIGH 7.6
Sources
- CVE-2026-120678 · CVE Program
- CVE-2026-120678 · NVD
- FIRST EPSS
- CVE-2026-120678 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences