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
References
| Link | Resource |
|---|---|
| https://jira.mongodb.org/browse/CDRIVER-5622 | Issue Tracking Vendor Advisory |
| https://jira.mongodb.org/browse/CDRIVER-5622 | Issue Tracking Vendor Advisory |
| https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html | |
| https://lists.debian.org/debian-lts-announce/2025/05/msg00027.html |
Configurations
History
No history.
Information
Published : 2024-07-02 18:15
Updated : 2025-11-03 20:17
NVD link : CVE-2024-6381
Mitre link : CVE-2024-6381
CVE.ORG link : CVE-2024-6381
JSON object : View
Products Affected
mongodb
- libbson
CWE
CWE-680
Integer Overflow to Buffer Overflow
