Skip to main content
← All vulnerabilities
CVE-2025-0755

MongoDB C Driver bson library may be susceptible to buffer overflow

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.27.5, 8.0.1, 7.0.16
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • MongoDB Inc libbson

    fixed in 1.27.5

  • MongoDB Inc MongoDB Server

    From 8.0 · fixed in 8.0.1; From 7.0 · fixed in 7.0.16

References 2

jira.mongodb.org