UBUNTU-CVE-2026-6691

Source
https://ubuntu.com/security/CVE-2026-6691
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6691.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-6691
Upstream
  • CVE-2026-6691
Published
2026-05-06T16:16:00Z
Modified
2026-05-14T14:55:08.035087Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
  • 8.6 (High) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

The MongoDB C Driver's Cyrus SASL integration performs unsafe string copying during username canonicalization, enabling a heap buffer overflow before any authentication or network traffic. This may be triggered by passing untrusted input in the username of a MongoDB URI with authMechanism=GSSAPI.

References

Affected packages

Ubuntu:Pro:20.04:LTS / mongo-c-driver

Package

Name
mongo-c-driver
Purl
pkg:deb/ubuntu/mongo-c-driver@1.16.1-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
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.16.1-1ubuntu0.1~esm1"
        },
        {
            "binary_name": "libmongoc-1.0-0",
            "binary_version": "1.16.1-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6691.json"

Ubuntu:Pro:22.04:LTS / mongo-c-driver

Package

Name
mongo-c-driver
Purl
pkg:deb/ubuntu/mongo-c-driver@1.21.0-1ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
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-0",
            "binary_version": "1.21.0-1ubuntu0.1~esm1"
        },
        {
            "binary_name": "libmongoc-1.0-0",
            "binary_version": "1.21.0-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6691.json"

Ubuntu:Pro:24.04:LTS / mongo-c-driver

Package

Name
mongo-c-driver
Purl
pkg:deb/ubuntu/mongo-c-driver@1.26.0-1.1ubuntu2+esm1?arch=source&distro=esm-apps/noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
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": "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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6691.json"

Ubuntu:25.10 / mongo-c-driver

Package

Name
mongo-c-driver
Purl
pkg:deb/ubuntu/mongo-c-driver@1.30.4-1ubuntu1?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.30.2-1
1.30.4-1ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libbson-1.0-0t64",
            "binary_version": "1.30.4-1ubuntu1"
        },
        {
            "binary_name": "libmongoc-1.0-0t64",
            "binary_version": "1.30.4-1ubuntu1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6691.json"