CVE-2024-6381
mediumpriority · track · 21EPSS 0.004 · 33 %ileDEEURUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (22)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-1508MongoDB: Mehrere SchwachstellenDeutsch2024-07-02csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in MongoDB ausnutzen, um Informationen offenzulegen, einen Denial-of-Service-Zustand zu erzeugen und Daten zu manipulieren.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-6381/cnnvd
- https://jira.mongodb.org/browse/CDRIVER-5622cnnvd
- https://vigilance.fr/vulnerability/MongoDB-C-Driver-integer-overflow-via-bson-strfreev-47111cnnvd
- https://jira.mongodb.org/browse/CDRIVER-5622enisa_euvd
- https://jira.mongodb.org/browse/CDRIVER-5622Issue TrackingVendor Advisorynvd
- https://lists.debian.org/debian-lts-announce/2025/05/msg00012.htmlnvd
- https://lists.debian.org/debian-lts-announce/2025/05/msg00027.htmlnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan