5.1Medium

CVE-2026-84966BSON element injection via NUL-embedded document keys in builder append

MongoDB C++ Driver Published: (2 months ago)

Description

An incorrect numeric type conversion in the BSON document building component of the MongoDB C++ Driver may cause a length value to be interpreted incorrectly. When an application supplies an extremely large, non-terminated field name to the builder, the library may read memory outside the intended buffer and terminate the calling process. No authentication is required, but the calling application must pass the oversized name in a specific form.

Weakness (CWE): CWE-681

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
MongoDB C++ Driver 3.2.0 – < 4.5.2

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:mongodb:c\+\+_driver:*:*:*:*:*:mongodb:*:* ≥ 3.0.0 < 4.5.2