CVE-2026-120678

NameCVE-2026-120678
DescriptionA 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mongo-c-driver (PTS)bookworm1.23.1-1+deb12u3vulnerable
trixie1.30.4-1+deb13u3vulnerable
forky2.5.7-1vulnerable
sid2.5.8-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mongo-c-driversource(unstable)2.5.8-1

Notes

https://jira.mongodb.org/browse/CDRIVER-6521
Fixed by: https://github.com/mongodb/mongo-c-driver/commit/e4394fb21880d360ab6b36855353a455d2127a2f (2.5.8)
Fixed by: https://github.com/mongodb/mongo-c-driver/commit/40733d2100cbed890008042e8bb8ab80c8f9249f (1.30.15)

Search for package or bug name: Reporting problems