Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-6381

published medium CVSS 3.1 · 4.0

MongoDB C Driver bson_strfreev may be susceptible to integer overflow

Published
02 Jul 2024, 17:14:48 UTC
Updated
03 Nov 2025, 19:34:28 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
MongoDB Inc — libbson0 to < 1.26.2 · Other versions: unaffected Affected Not stated mongodb
Debian bullseye libbson-xs-perl Advisory build 0.8.4-1+deb11u1 DLA-4160-1
Ubuntu focal libbson-1.0-0 Advisory build 1.16.1-1ubuntu0.1~esm1 USN-7613-1
Debian bullseye mongo-c-driver Advisory build 1.17.6-1+deb11u1 DLA-4175-1
Ubuntu focal libmongoc-1.0-0 Advisory build 1.16.1-1ubuntu0.1~esm1 USN-7613-1
Ubuntu focal mongo-c-driver Advisory build 1.16.1-1ubuntu0.1~esm1 USN-7613-1
Ubuntu jammy libbson-1.0-0 Advisory build 1.21.0-1ubuntu0.1~esm1 USN-7613-1
Ubuntu jammy libmongoc-1.0-0 Advisory build 1.21.0-1ubuntu0.1~esm1 USN-7613-1
Show 4 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu jammy mongo-c-driver Advisory build 1.21.0-1ubuntu0.1~esm1 USN-7613-1
Ubuntu noble libbson-1.0-0t64 Advisory build 1.26.0-1.1ubuntu2+esm1 USN-7613-1
Ubuntu noble libmongoc-1.0-0t64 Advisory build 1.26.0-1.1ubuntu2+esm1 USN-7613-1
Ubuntu noble mongo-c-driver Advisory build 1.26.0-1.1ubuntu2+esm1 USN-7613-1

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

en · mongodb · cna

Vendor advisories explicitly linked to this CVE.

5

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
4.0 / 10
Severity
medium
Provider
mongodb · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
MongoDB Inc libbson 0 to < 1.26.2 (affected · custom)Default: unaffected mongodb · cna

Weaknesses

1
  • CWE-680 CWE-680: Integer Overflow to Buffer Overflow (mongodb · cna)

References

3

Provider assertions

3

mongodb · cna

MongoDB C Driver bson_strfreev may be susceptible to integer overflow

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
715c99d83bf9a284638752a4e005c907943b12c7e0c849409fd2daf5d35ecd88
Ingested
23 Sep 2026, 08:33:03 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected