Skip to content

CVE-2026-84970 Heap over-read or silent misparse via 32-bit truncation of JSON length in BSON JSON parser

MediumCVSS 5.9 EPSS 0.12%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

Description

A numeric truncation weakness exists in the JSON parsing component of the MongoDB C++ Driver's BSON library. An actor who controls the text that an embedding application hands to the library's public JSON parsing interface, when that text is very large, can cause the library to read memory beyond the supplied buffer and return it to the caller, to silently accept only part of the input as a complete document, or to terminate the process. No MongoDB server, credentials, or non-default configuration is required; the effect is confined to the process that uses the library.

Upgrade path

3 packages: 2 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/mongo-cxx-driver(Ubuntu 26.10) All versions No fix listed No fix yet
debian/mongo-cxx-driver(Debian 14) < 4.5.2-1; = 3.4.1-1; = 3.6.0-1; = 3.6.1-1 +18 more 4.5.2-1 Fixed
MongoDB C++ Driver >= 3.2.0, < 4.5.2 4.5.2 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB C++ Driver >= 3.2.0, < 4.5.2 4.5.2
debian/mongo-cxx-driver(Debian:14) < 4.5.2-1 4.5.2-1
debian/mongo-cxx-driver(Debian:14) = 3.10.1-1 No fix listed
debian/mongo-cxx-driver(Debian:14) = 3.10.2-1 No fix listed
debian/mongo-cxx-driver(Debian:14) = 3.11.0-1 No fix listed
debian/mongo-cxx-driver(Debian:14) = 3.4.1-1 No fix listed
debian/mongo-cxx-driver(Debian:14) = 3.6.0-1 No fix listed
debian/mongo-cxx-driver(Debian:14) = 3.6.1-1 No fix listed
debian/mongo-cxx-driver(Debian:14) = 3.6.2-1 No fix listed
debian/mongo-cxx-driver(Debian:14) = 3.6.3-1 No fix listed
debian/mongo-cxx-driver(Debian:14) = 3.6.5-1 No fix listed
debian/mongo-cxx-driver(Debian:14) = 3.6.6-1 No fix listed
debian/mongo-cxx-driver(Debian:14) = 3.6.7-1 No fix listed
debian/mongo-cxx-driver(Debian:14) = 3.7.0-1 No fix listed
debian/mongo-cxx-driver(Debian:14) = 3.7.1-1 No fix listed
debian/mongo-cxx-driver(Debian:14) = 3.8.0-1 No fix listed
debian/mongo-cxx-driver(Debian:14) = 3.8.1-1 No fix listed
debian/mongo-cxx-driver(Debian:14) = 3.9.0-1 No fix listed
debian/mongo-cxx-driver(Debian:14) = 4.0.0-1 No fix listed
debian/mongo-cxx-driver(Debian:14) = 4.1.4-1 No fix listed
debian/mongo-cxx-driver(Debian:14) = 4.4.0-1 No fix listed
debian/mongo-cxx-driver(Debian:14) = 4.5.0-1 No fix listed
debian/mongo-cxx-driver(Debian:14) = 4.5.1-1 No fix listed
ubuntu/mongo-cxx-driver(Ubuntu:26.10) All versions No fix listed

References