CVE-2024-6381
MEDIUM5.3EPSS 0.61%Published: 7/2/2024Modified: 4/28/2026
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 packages (2)
- Debian/libbson-xs-perlfrom 0, < 0.8.4-1+deb11u1
- Debian/mongo-c-driverfrom 0, < 1.17.6-1+deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |