Live threats

All CVEs / Mongodb

CVE-2024-6381Mongodb Libbson

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
0.7%
probability of exploitation in 30 days · percentile 47
Auth required
No
Published
Jul 2, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-680
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Libbson.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
mongodblibbson< 1.26.2

Official sources

References

Links published by the sources. Open them with care.