CVE-2024-6381

4.0 MEDIUM
Published: July 02, 2024 Modified: November 03, 2025

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

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://jira.mongodb.org/browse/CDRIVER-5622
Source: cna@mongodb.com
Issue Tracking Vendor Advisory
https://jira.mongodb.org/browse/CDRIVER-5622
Source: af854a3a-2127-422b-91ae-364da2661108
Issue Tracking Vendor Advisory

4 reference(s) from NVD

Quick Stats

CVSS v3 Score
4.0 / 10.0
EPSS (Exploit Probability)
0.3%
56th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

mongodb