mongo-cxx-driver — security advisory
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.
- Products
- mongo-cxx-driver
- Affected versions
- 4.4.0-1, 4.5.0-1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-84966
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 03:23 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2026-84966
mongo-cxx-driver
Fixed versions: Not specified
Complete source record
{
"id": "cb7a32f283ee8088dfcb7af1d79a942ccb4c7c669bf1b5d1dec1f825e5d203a4",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-84966",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-84966",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2026-84966",
"products": [
{
"name": {
"value": "mongo-cxx-driver",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.4.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.5.0-1",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2026-84966",
"aliases": [
"UBUNTU-CVE-2026-84966"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "CVSS_V4",
"score": "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"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mongo-cxx-driver",
"purl": "pkg:deb/ubuntu/mongo-cxx-driver?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"4.4.0-1",
"4.5.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-84966.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libbsoncxx1-1",
"binary_version": "4.5.0-1"
},
{
"binary_name": "libmongocxx1-1",
"binary_version": "4.5.0-1"
}
]
}
}
],
"modified": "2026-10-17T13:01:12.947385786Z",
"provider": "osv",
"upstream": [
"CVE-2026-84966"
],
"references": [
"https://ubuntu.com/security/CVE-2026-84966",
"https://www.cve.org/CVERecord?id=CVE-2026-84966",
"https://jira.mongodb.org/browse/CXX-3548"
]
},
"related_cves": [
{
"value": "CVE-2026-84966",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/2/score"
},
"source_id": "core-osv",
"document_id": 361267,
"published_at": "2026-09-03T16:18:00+00:00"
}