MongoDB C Driver bson_strfreev may be susceptible to integer overflow
Priority LOW 24CWE-680Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA.
Summary
The bson_strfreev function in the MongoDB C driver library may be susceptible to an integer overflow where the function will try to free memory at a negative offset. This may result in memory corruption. This issue affected libbson versions prior to 1.26.2
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00392 33rd percentileScored 2026-11-07
Fix Fixed libbson (MongoDB Inc): 1.26.2
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA libbson (MongoDB Inc) Fixed in 1.26.2
Timeline
- 2026-10-02 Threatist record created from CVE-2024-6381
- 2026-10-03 Alias added: GHSA-vc2m-fm8c-xx2j
References
More MongoDB Libbson vulnerabilities
- TI-2025-00643 MongoDB C Driver bson library may be susceptible to buffer overflow CVSS 3.1HIGH 8.4
- 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
Sources
- CVE-2024-6381 · CVE Program
- CVE-2024-6381 · NVD
- FIRST EPSS
- GHSA-vc2m-fm8c-xx2j · 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