CVE-2026-106429

NameCVE-2026-106429
DescriptionAn integer underflow in the KMS endpoint-parsing logic of MongoDB libmongocrypt can cause an allocation failure that terminates the application process. This can occur when an authenticated user modifies a key document in the key vault collection, or when an application accepts a KMS endpoint containing a colon after its path or query during key creation. The issue does not access memory outside its allocated bounds.
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
libmongocrypt (PTS)bookworm1.7.2-1vulnerable
trixie1.13.2-1+deb13u1vulnerable
forky1.20.4-1vulnerable
sid1.20.5-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libmongocryptsource(unstable)1.20.5-1

Notes

https://jira.mongodb.org/browse/MONGOCRYPT-986
Fixed by: https://github.com/mongodb/libmongocrypt/commit/f2ea9f97dff40eb8b470a4fc3d407bafb4650d88 (1.20.5)
Fixed by: https://github.com/mongodb/libmongocrypt/commit/1450714452daaaa9da29359ab6a6b1a0c3a1fa47 (1.20.5)
Fixed by: https://github.com/mongodb/libmongocrypt/commit/03d09f07bb32f9387aec823444cd7bb6d41cddad (1.20.5)

Search for package or bug name: Reporting problems