UBUNTU-CVE-2025-0755

Source
https://ubuntu.com/security/CVE-2025-0755
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-0755.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-0755
Related
Published
2025-03-18T09:15:00Z
Modified
2025-03-20T04:34:13Z
Summary
[none]
Details

The various bsonappend functions in the MongoDB C driver library may be susceptible to buffer overflow when performing operations that could result in a final BSON document which exceeds the maximum allowable size (INT32MAX), resulting in a segmentation fault and possible application crash. This issue affected libbson versions prior to 1.27.5, MongoDB Server v8.0 versions prior to 8.0.1 and MongoDB Server v7.0 versions prior to 7.0.16

References

Affected packages

Ubuntu:20.04:LTS / mongo-c-driver

Package

Name
mongo-c-driver
Purl
pkg:deb/ubuntu/mongo-c-driver@1.16.1-1build2?arch=source&distro=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

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / mongo-c-driver

Package

Name
mongo-c-driver
Purl
pkg:deb/ubuntu/mongo-c-driver@1.21.0-1build1?arch=source&distro=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

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / mongo-c-driver

Package

Name
mongo-c-driver
Purl
pkg:deb/ubuntu/mongo-c-driver@1.27.5-1?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.27.5-1

Affected versions

1.*

1.26.0-1.1ubuntu2
1.27.4-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.27.5-1",
            "binary_name": "libbson-1.0-0t64"
        },
        {
            "binary_version": "1.27.5-1",
            "binary_name": "libbson-1.0-0t64-dbgsym"
        },
        {
            "binary_version": "1.27.5-1",
            "binary_name": "libbson-dev"
        },
        {
            "binary_version": "1.27.5-1",
            "binary_name": "libbson-doc"
        },
        {
            "binary_version": "1.27.5-1",
            "binary_name": "libmongoc-1.0-0t64"
        },
        {
            "binary_version": "1.27.5-1",
            "binary_name": "libmongoc-1.0-0t64-dbgsym"
        },
        {
            "binary_version": "1.27.5-1",
            "binary_name": "libmongoc-dev"
        },
        {
            "binary_version": "1.27.5-1",
            "binary_name": "libmongoc-doc"
        }
    ]
}

Ubuntu:24.04:LTS / mongo-c-driver

Package

Name
mongo-c-driver
Purl
pkg:deb/ubuntu/mongo-c-driver@1.26.0-1.1ubuntu2?arch=source&distro=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

Ecosystem specific

{
    "ubuntu_priority": "medium"
}