Read the docs
TI-2025-00643 Aliases CVE-2025-0755GHSA-x43h-8pfv-xx24

MongoDB C Driver bson library may be susceptible to buffer overflow

Priority MEDIUM 40CWE-122Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-122 and the CVSS impact.

Summary

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

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00788 56th percentileScored 2026-11-07
Fix Fixed libbson (MongoDB Inc): 1.27.5MongoDB Server (MongoDB Inc): 8.0.1, 7.0.16

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
MongoDBlibbsonbefore 1.27.51.27.5Patch availableCNA
MongoDBMongoDB Server8.0 to before 8.0.1; 7.0 to before 7.0.168.0.1, 7.0.16Patch availableCNA
  • libbson VendorMongoDB Affected before 1.27.5 Fixed in 1.27.5 Patch available CNA
  • MongoDB Server VendorMongoDB Affected 8.0 to before 8.0.1; 7.0 to before 7.0.16 Fixed in 8.0.1, 7.0.16 Patch available CNA

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:mongodb:libbson:*:*:*:*:*:*:*:*before 1.27.5VulnerableMongoDB
cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*7.0.0 to before 7.0.16VulnerableMongoDB
cpe:2.3:a:mongodb:mongodb:8.0.0:*:*:*:-:*:*:*8.0.0VulnerableMongoDB
  • cpe:2.3:a:mongodb:libbson:*:*:*:*:*:*:*:* Versions before 1.27.5 Vulnerable ·MongoDB
  • cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:* Versions 7.0.0 to before 7.0.16 Vulnerable ·MongoDB
  • cpe:2.3:a:mongodb:mongodb:8.0.0:*:*:*:-:*:*:* Versions 8.0.0 Vulnerable ·MongoDB

Remediation

  • Fix · CNA libbson (MongoDB Inc) Fixed in 1.27.5
  • Fix · CNA MongoDB Server (MongoDB Inc) Fixed in 8.0.1, 7.0.16

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-0755
  2. 2026-10-03 Alias added: GHSA-x43h-8pfv-xx24

References

  • TI-2018-12023 _bson_iter_next_internal in bson-iter.c in libbson 1.12.0, as used in MongoDB… CVSS 3.0HIGH 8.1
  • TI-2024-05923 MongoDB C Driver bson_strfreev may be susceptible to integer overflow CVSS 3.1MEDIUM 5.3

Sources