MongoDB C Driver bson library may be susceptible to buffer overflow
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MongoDB | libbson | before 1.27.5 | 1.27.5 | Patch available | CNA |
| MongoDB | MongoDB Server | 8.0 to before 8.0.1; 7.0 to before 7.0.16 | 8.0.1, 7.0.16 | Patch available | CNA |
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
- 2026-10-02 Threatist record created from CVE-2025-0755
- 2026-10-03 Alias added: GHSA-x43h-8pfv-xx24
References
More MongoDB Libbson vulnerabilities
- 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
- CVE-2025-0755 · CVE Program
- CVE-2025-0755 · NVD
- FIRST EPSS
- GHSA-x43h-8pfv-xx24 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences