UBUNTU-CVE-2026-96297

Source
https://ubuntu.com/security/CVE-2026-96297
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-96297.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-96297
Upstream
  • CVE-2026-96297
Published
2026-10-13T16:17:00Z
Modified
2026-10-17T13:01:19Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • 6.0 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Use of freed memory in the aggregation feature of MongoDB Server can cause the server to read data from a memory area after it has been released. When an internal aggregation stage is combined with a batch size of 0, the server may read from memory that is no longer in use. Because that memory can be reused for other data before it is read, query results returned to the client may contain unrelated data from the server process. Depending on the state of memory at the time, the server process may also terminate unexpectedly. The behavior can occur when an authenticated user with read privileges runs an aggregate command that combines these two settings.

References

Affected packages

Ubuntu:Pro:14.04:LTS / mongodb

Package

Name
mongodb
Purl
pkg:deb/ubuntu/mongodb?arch=source&distro=esm-infra-legacy%2Ftrusty

Affected ranges

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

Affected versions

1:2.*
1:2.4.6-0ubuntu5
1:2.4.6-0ubuntu6
1:2.4.8-1ubuntu1
1:2.4.8-2
1:2.4.9-1
1:2.4.9-1ubuntu1
1:2.4.9-1ubuntu2
1:2.4.9-1ubuntu2+esm2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "mongodb",
            "binary_version":  "1:2.4.9-1ubuntu2+esm2"
        },
        {
            "binary_name":  "mongodb-clients",
            "binary_version":  "1:2.4.9-1ubuntu2+esm2"
        },
        {
            "binary_name":  "mongodb-server",
            "binary_version":  "1:2.4.9-1ubuntu2+esm2"
        }
    ]
}

Database specific

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

Ubuntu:Pro:16.04:LTS / mongodb

Package

Name
mongodb
Purl
pkg:deb/ubuntu/mongodb?arch=source&distro=esm-apps%2Fxenial

Affected ranges

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

Affected versions

1:2.*
1:2.6.10-0ubuntu1
1:2.6.10-0ubuntu1+esm2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "mongodb",
            "binary_version":  "1:2.6.10-0ubuntu1+esm2"
        },
        {
            "binary_name":  "mongodb-clients",
            "binary_version":  "1:2.6.10-0ubuntu1+esm2"
        },
        {
            "binary_name":  "mongodb-server",
            "binary_version":  "1:2.6.10-0ubuntu1+esm2"
        }
    ]
}

Database specific

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

Ubuntu:Pro:18.04:LTS / mongodb

Package

Name
mongodb
Purl
pkg:deb/ubuntu/mongodb?arch=source&distro=esm-apps%2Fbionic

Affected ranges

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

Affected versions

1:3.*
1:3.4.7-1
1:3.4.7-1ubuntu1
1:3.4.7-1ubuntu2
1:3.4.7-1ubuntu4
1:3.4.14-3ubuntu1
1:3.4.14-3ubuntu2
1:3.6.3-0ubuntu1
1:3.6.3-0ubuntu1.1
1:3.6.3-0ubuntu1.3
1:3.6.3-0ubuntu1.4
1:3.6.3-0ubuntu1.4+esm1
1:3.6.3-0ubuntu1.4+esm2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "mongodb",
            "binary_version":  "1:3.6.3-0ubuntu1.4+esm2"
        },
        {
            "binary_name":  "mongodb-clients",
            "binary_version":  "1:3.6.3-0ubuntu1.4+esm2"
        },
        {
            "binary_name":  "mongodb-server",
            "binary_version":  "1:3.6.3-0ubuntu1.4+esm2"
        },
        {
            "binary_name":  "mongodb-server-core",
            "binary_version":  "1:3.6.3-0ubuntu1.4+esm2"
        }
    ]
}

Database specific

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

Ubuntu:Pro:20.04:LTS / mongodb

Package

Name
mongodb
Purl
pkg:deb/ubuntu/mongodb?arch=source&distro=esm-apps%2Ffocal

Affected ranges

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

Affected versions

1:3.*
1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu2
1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5
1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.2
1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3
1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3+esm1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "mongodb",
            "binary_version":  "1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3+esm1"
        },
        {
            "binary_name":  "mongodb-clients",
            "binary_version":  "1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3+esm1"
        },
        {
            "binary_name":  "mongodb-server",
            "binary_version":  "1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3+esm1"
        },
        {
            "binary_name":  "mongodb-server-core",
            "binary_version":  "1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3+esm1"
        }
    ]
}

Database specific

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