{"id":"CVE-2024-6381","published":"2024-07-02T17:14:48Z","modified":"2025-11-03T19:34:28Z","title":"MongoDB C Driver bson_strfreev may be susceptible to integer overflow","vendor":"MongoDB Inc","product":"libbson","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00666,"percentile":0.46801,"provenance":"source"},"cwes":[{"id":"CWE-680","name":"Integer Overflow to Buffer Overflow"}],"references":[{"url":"https://jira.mongodb.org/browse/CDRIVER-5622","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00027.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html","tags":[]}],"priority":{"score":12.2,"factors":[{"name":"EPSS percentile","points":9.36},{"name":"CVSS severity","points":2.8}]},"vendorSlug":"mongodb","affectedVersions":[{"vendor":"MongoDB Inc","product":"libbson","versions":["< 1.26.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-02T18:54:05.940356Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-47488","exploited":false,"provenance":"source"}}