CVE-2024-6381CWE-680

MongoDB C Driver bson_strfreev may be susceptible to integer overflow

Medium · published July 2, 2024

CVSS v3.1
4.0
EPSS
0%
Percentile
32.2
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
4.0 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00392 · 32.2th percentile
Weakness
CWE-680 · Integer Overflow to Buffer Overflow
Published
2024-07-02T17:14Z
EPSS history
Timeline
  • 02 JUL 17:14Z
    MongoDB C Driver bson_strfreev may be susceptible to integer overflow
    cvelistv5