CVEvulnerability
CVE-2024-6381
5.3 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-07-02
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 4.0 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- CVSS 3.1 ([email protected])
- 5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-680
Description
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
Affected configurations
• mongodb libbson (< 1.26.2)
Related
Weakness · CWE (1)
- CWE-680 Integer Overflow to Buffer Overflow weakness
References
- 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 lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00027.html lists.debian.org