UBUNTU-CVE-2026-106431 (CVE-2026-106431)
Vulnerability from osv_ubuntu – Published: 2026-10-08 19:16 – Updated: 2026-10-17 10:01 – Source websiteAn off-by-one error in the BSON bulk document writer in the MongoDB C Driver can write one zero byte immediately past a heap allocation when a document ends at a specific buffer boundary. An actor who can influence the size of documents serialized by an embedding application can corrupt adjacent process memory or terminate the process. Reaching this issue requires the application to use the BSON bulk-writer API and produce a precise cumulative document size.
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libbson-1.0-0",
"binary_version": "1.16.1-1ubuntu0.1~esm1"
},
{
"binary_name": "libmongoc-1.0-0",
"binary_version": "1.16.1-1ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "mongo-c-driver",
"purl": "pkg:deb/ubuntu/mongo-c-driver@1.16.1-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.15.0-1",
"1.15.1-1",
"1.15.2-1",
"1.16.0-1",
"1.16.1-1",
"1.16.1-1build1",
"1.16.1-1build2",
"1.16.1-1ubuntu0.1~esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libbson-1.0-0",
"binary_version": "1.21.0-1ubuntu0.1~esm1"
},
{
"binary_name": "libmongoc-1.0-0",
"binary_version": "1.21.0-1ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "mongo-c-driver",
"purl": "pkg:deb/ubuntu/mongo-c-driver@1.21.0-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.0-1",
"1.19.1-1",
"1.19.2-1",
"1.20.0-1",
"1.20.0-1build1",
"1.20.1-1",
"1.21.0-1",
"1.21.0-1build1",
"1.21.0-1ubuntu0.1~esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libbson-1.0-0t64",
"binary_version": "1.26.0-1.1ubuntu2+esm1"
},
{
"binary_name": "libmongoc-1.0-0t64",
"binary_version": "1.26.0-1.1ubuntu2+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:24.04:LTS",
"name": "mongo-c-driver",
"purl": "pkg:deb/ubuntu/mongo-c-driver@1.26.0-1.1ubuntu2+esm1?arch=source\u0026distro=esm-apps/noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.24.3-1",
"1.24.4-1",
"1.25.1-1",
"1.25.2-1",
"1.25.4-1",
"1.26.0-1",
"1.26.0-1.1ubuntu1",
"1.26.0-1.1ubuntu2",
"1.26.0-1.1ubuntu2+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libbson2-2",
"binary_version": "2.5.0-1"
},
{
"binary_name": "libmongoc2-2",
"binary_version": "2.5.0-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.10",
"name": "mongo-c-driver",
"purl": "pkg:deb/ubuntu/mongo-c-driver@2.5.0-1?arch=source\u0026distro=stonking"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.2.2-1",
"2.3.1-1",
"2.3.2-1",
"2.3.3-1build1",
"2.5.0-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libbson2-2",
"binary_version": "2.2.2-1"
},
{
"binary_name": "libmongoc2-2",
"binary_version": "2.2.2-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "mongo-c-driver",
"purl": "pkg:deb/ubuntu/mongo-c-driver@2.2.2-1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.30.4-1ubuntu1",
"2.2.0-1",
"2.2.1-1",
"2.2.2-1"
]
}
],
"aliases": [],
"details": "An off-by-one error in the BSON bulk document writer in the MongoDB C Driver can write one zero byte immediately past a heap allocation when a document ends at a specific buffer boundary. An actor who can influence the size of documents serialized by an embedding application can corrupt adjacent process memory or terminate the process. Reaching this issue requires the application to use the BSON bulk-writer API and produce a precise cumulative document size.",
"id": "UBUNTU-CVE-2026-106431",
"modified": "2026-10-17T10:01:21Z",
"published": "2026-10-08T19:16:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-106431"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-106431"
},
{
"type": "REPORT",
"url": "https://jira.mongodb.org/browse/CDRIVER-6418"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-106431"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.