golang-mongodb-mongo-driver — security advisory
Improper validation of a BSON array length in the MongoDB Go Driver can cause an out-of-bounds index and runtime panic when an application calls bson.RawArray.Validate or bsoncore.Array.Validate on a malformed four-byte array. An unauthenticated actor who can supply raw BSON array data to an affected application may terminate an unprotected application process, causing a denial of service. No confidentiality or integrity impact has been identified.
- Products
- golang-mongodb-mongo-driver
- Affected versions
- 1.12.1+ds1-2, 1.17.1+ds1-2, 1.17.9+ds1-1, 1.8.4+ds1-1ubuntu1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-107325
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:40 UTC · Revision 1
Source evidence
Improper validation of a BSON array length in the MongoDB Go Driver can cause an out-of-bounds index and runtime panic when an application calls bson.RawArray.Validate or bsoncore.Array.Validate on a malformed four-byte array. An unauthenticated actor who can supply raw BSON array data to an affected application may terminate an unprotected application process, causing a denial of service. No confidentiality or integrity impact has been identified.
osv:UBUNTU-CVE-2026-107325
golang-mongodb-mongo-driver
Fixed versions: Not specified
golang-mongodb-mongo-driver
Fixed versions: Not specified
golang-mongodb-mongo-driver
Fixed versions: Not specified
Complete source record
{
"id": "7afb3738be9fcf04957e769dac9979a7498fe75ee4d2c37648c2c9322b1d8675",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-107325",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-107325",
"summary": "Improper validation of a BSON array length in the MongoDB Go Driver can cause an out-of-bounds index and runtime panic when an application calls bson.RawArray.Validate or bsoncore.Array.Validate on a malformed four-byte array. An unauthenticated actor who can supply raw BSON array data to an affected application may terminate an unprotected application process, causing a denial of service. No confidentiality or integrity impact has been identified.",
"evidence": "osv:UBUNTU-CVE-2026-107325",
"products": [
{
"name": {
"value": "golang-mongodb-mongo-driver",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.8.4+ds1-1ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "1.12.1+ds1-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "golang-mongodb-mongo-driver",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.17.1+ds1-2",
"evidence": "/affected/1/versions"
},
{
"value": "1.17.9+ds1-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "golang-mongodb-mongo-driver",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.17.1+ds1-2",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-107325",
"aliases": [
"UBUNTU-CVE-2026-107325"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/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": "golang-mongodb-mongo-driver",
"purl": "pkg:deb/ubuntu/golang-mongodb-mongo-driver?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.8.4+ds1-1ubuntu1",
"1.12.1+ds1-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-107325.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-mongodb-mongo-driver-dev",
"binary_version": "1.12.1+ds1-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-mongodb-mongo-driver",
"purl": "pkg:deb/ubuntu/golang-mongodb-mongo-driver?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.17.1+ds1-2",
"1.17.9+ds1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-107325.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-mongodb-mongo-driver-dev",
"binary_version": "1.17.9+ds1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-mongodb-mongo-driver",
"purl": "pkg:deb/ubuntu/golang-mongodb-mongo-driver?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.17.1+ds1-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-107325.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-mongodb-mongo-driver-dev",
"binary_version": "1.17.1+ds1-2"
}
]
}
}
],
"modified": "2026-10-17T12:58:44.476715331Z",
"provider": "osv",
"upstream": [
"CVE-2026-107325"
],
"references": [
"https://ubuntu.com/security/CVE-2026-107325",
"https://www.cve.org/CVERecord?id=CVE-2026-107325",
"https://jira.mongodb.org/browse/GODRIVER-4136"
]
},
"related_cves": [
{
"value": "CVE-2026-107325",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 358998,
"published_at": "2026-10-08T19:17:00+00:00"
}