BSON element injection via NUL-embedded document keys in builder append (MongoDB C++ Driver)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.14 % · percentile 4 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- mongodb
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-681 — Incorrect Conversion between Numeric Types
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 4.0 | MEDIUM 5.9 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | mongodb |
| CVSS 3.1 | MEDIUM 5.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | mongodb |
| CVSS 4.0 | MEDIUM 5.9 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD · cna@mongodb.com (Secondary) |
| CVSS 3.1 | MEDIUM 5.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · cna@mongodb.com (Secondary) |
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2026-70511
- GCVE · GCVE-0-2026-84966
CERT-FR advisories
- CERTFR-2026-AVI-1123 — Multiples vulnérabilités dans MongoDB · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:mongodb:c\+\+_driver:*:*:*:*:*:mongodb:*:*≥ 3.0.0 < 4.5.2
Affected products
| Product | Versions |
|---|---|
| MongoDB · C++ Driver | affected 3.2.0 < 4.5.2 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |