UBUNTU-CVE-2025-6710

Source
https://ubuntu.com/security/CVE-2025-6710
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-6710.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2025-6710
Upstream
Published
2025-06-26T14:15:00Z
Modified
2025-09-08T17:06:51Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

MongoDB Server may be susceptible to stack overflow due to JSON parsing mechanism, where specifically crafted JSON inputs may induce unwarranted levels of recursion, resulting in excessive stack space consumption. Such inputs can lead to a stack overflow that causes the server to crash which could occur pre-authorisation. This issue affects MongoDB Server v7.0 versions prior to 7.0.17 and MongoDB Server v8.0 versions prior to 8.0.5. The same issue affects MongoDB Server v6.0 versions prior to 6.0.21, but an attacker can only induce denial of service after authenticating.

References

Affected packages

Ubuntu:Pro:14.04:LTS / mongodb

Package

Name
mongodb
Purl
pkg:deb/ubuntu/mongodb@1:2.4.9-1ubuntu2?arch=source&distro=esm-infra-legacy/trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown 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

Ecosystem specific

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

Ubuntu:Pro:16.04:LTS / mongodb

Package

Name
mongodb
Purl
pkg:deb/ubuntu/mongodb@1:2.6.10-0ubuntu1?arch=source&distro=esm-apps/xenial

Affected ranges

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

Affected versions

1:2.*

1:2.6.10-0ubuntu1

Ecosystem specific

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

Ubuntu:Pro:18.04:LTS / mongodb

Package

Name
mongodb
Purl
pkg:deb/ubuntu/mongodb@1:3.6.3-0ubuntu1.4?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown 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

Ecosystem specific

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

Ubuntu:Pro:20.04:LTS / mongodb

Package

Name
mongodb
Purl
pkg:deb/ubuntu/mongodb@1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown 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

Ecosystem specific

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