VulnerabilityModified
CVE-2024-6381
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.
MEDIUM 5.3EPSS 0.39%
Does this matter?
Lower severity and a low EPSS score (0.39%). Track it; it rarely justifies an emergency change on its own.
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
- CVSS 3.1
- 5.3 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- EPSS
- 0.39% probability · 33th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-680
- Affected
- mongodb/libbson
- Source
- cna@mongodb.com
References
- https://jira.mongodb.org/browse/CDRIVER-5622Issue Tracking, Vendor Advisory
- https://jira.mongodb.org/browse/CDRIVER-5622Issue 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
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.