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
03 Nov 2025, 20:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
02 Oct 2025, 13:47
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:mongodb:libbson:*:*:*:*:*:*:*:* | |
| First Time |
Mongodb libbson
Mongodb |
|
| References | () https://jira.mongodb.org/browse/CDRIVER-5622 - Issue Tracking, Vendor Advisory |
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
