CVE-2024-6381Mongodb Libbson
Medium 5.3 No auth needed
Follow: this CVE · Mongodb · Mongodb Libbson We alert you by email or Slack (account required).
- 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
What to do
- Apply the vendor's security update for Libbson.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mongodb | libbson | < 1.26.2 |
Official sources
References
Links published by the sources. Open them with care.
- jira.mongodb.org Issue Tracking Vendor Advisory
- lists.debian.org
- lists.debian.org