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 |
Configurations
History
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-10-02 13:47
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