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
Metrics
CVSS 3.1 5.3/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| MongoDB Inc | libbson | < 1.26.2 |
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
Timeline
- Published
- Jul 2, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Modified