VDB

CVE-2025-0755

CVE-2025-0755 PUBLISHED CVSS 8.4 HIGH

MongoDB C Driver bson library may be susceptible to buffer overflow

Reported by mongodb · Published March 18, 2025

The various bson_append 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 (INT32_MAX), 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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
mongodbBitnami8.0.1, 7.0.16
mongodbBitnami8.0.1, 7.0.16
libbsonmongodb1.27.5
libbsonMongoDB Inc1.27.5
mongodbmongodb7.0.16
MongoDB ServerMongoDB Inc8.0.1, 7.0.16

Risk scores

CVSS 3.1
8.4
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
MongoDB Inclibbson0
MongoDB IncMongoDB Server8.0, 7.0
MongoDB IncMongoDB Server8.0, 7.0
MongoDB Inclibbson0

Timeline

  • Mar 18, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 18, 2025 CVE Published
  • Mar 18, 2025 PoC Published (10 in total, the first dated here)
  • Mar 19, 2025 Coalition ESS Score (11 in total, the first dated here)
  • Dec 25, 2025 CVE Updated
  • Jun 2, 2026 Security Advisory (2 in total, the first dated here)
  • Aug 10, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-0755
vulnetix vdb fixes CVE-2025-0755

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-0755/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›