# CVE-2026-120678: MongoDB C Driver leaks the decompressed reply buffer when an OP_COMPRESSED reply fails to parse (denial of service)

- Severity: High 8.7 (CVSS:4.0, scored by mongodb) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-11-03T18:39:32.988Z
- Modified: 2026-11-03T21:17:04.000Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mongodb

## 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.

(As written by CVE List.)

## Affected

- MongoDB C Driver: from 1.25.0 up to 1.30.14; from 2.0.0 up to 2.5.7

## Every score

- mongodb: CVSS:4.0 8.7 High `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`
- mongodb: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://jira.mongodb.org/browse/CDRIVER-6521>

## Sources

- CVE List: [CVE-2026-120678](https://www.cve.org/CVERecord?id=CVE-2026-120678), CVE Terms of Use, modified 2026-11-03
- NVD: [CVE-2026-120678](https://nvd.nist.gov/vuln/detail/CVE-2026-120678), Public domain, modified 2026-11-03

---

Page: https://cve.day/CVE-2026-120678 · Whole record: https://cve.day/CVE-2026-120678.json · Rebuilt by cve.day 2026-11-25T22:59:48.581Z
