Read the docs
TI-2024-05923 Aliases CVE-2024-6381GHSA-vc2m-fm8c-xx2j

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

VendorProductAffected versionsFixed inStatusSource
MongoDBlibbsonbefore 1.26.21.26.2Patch availableCNA
  • libbson VendorMongoDB Affected before 1.26.2 Fixed in 1.26.2 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:mongodb:libbson:*:*:*:*:*:*:*:*before 1.26.2VulnerableMongoDB
  • cpe:2.3:a:mongodb:libbson:*:*:*:*:*:*:*:* Versions before 1.26.2 Vulnerable ·MongoDB

Remediation

  • Fix · CNA libbson (MongoDB Inc) Fixed in 1.26.2

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-6381
  2. 2026-10-03 Alias added: GHSA-vc2m-fm8c-xx2j

References

  • 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