8.4

CVE-2025-0755: mongodb inc libbson Heap-based Buffer Overflow

CVSS: 8.4v3.1HighModified
AliasesUBUNTU-CVE-2025-0755DEBIAN-CVE-2025-0755
Published 18-03-2025Last modified 03-11-2025

Vulnerability summary

CVE-2025-0755 is a high (CVSS 8.4) Heap-based Buffer Overflow vulnerability in mongodb inc libbson. EPSS estimates a 0.79% chance of exploitation in the next 30 days, higher than 55.3% of scored vulnerabilities.

Overall risk
34/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.4/10
010
High · v3.1 (CVE.org)
EPSS score
0.79%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 1

Timeline

  1. 18-03-2025
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

Description

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

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.79%

Chance of exploitation in the next 30 days

Percentile

55%

Versus all other CVEs

30-day change

+0.01 pp

From 0.77% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.79%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian2 products
  • libbson-xs-perl< 0.8.4-2+deb12u1
  • mongo-c-driver< 1.23.1-1+deb12u1 | < 1.27.5-1
Mongodb2 products
Mongodb inc2 products
Ubuntu1 product
  • mongo-c-driverAll versions (No fix recorded) | < 1.26.0-1.1ubuntu2+esm1

4 vendors · 7 products

References

8 links