CVE-2024-6381

Publication date 2 July 2024

Last updated 3 July 2025


Ubuntu priority

Cvss 3 Severity Score

4.0 · Medium

Score breakdown

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

Status

Package Ubuntu Release Status
libbson 25.04 plucky Not in release
24.10 oracular Not in release
24.04 LTS noble Not in release
23.10 mantic Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
18.04 LTS bionic
Needs evaluation
16.04 LTS xenial
Needs evaluation
mongo-c-driver 25.04 plucky
Not affected
24.10 oracular
Not affected
24.04 LTS noble
Fixed 1.26.0-1.1ubuntu2+esm1
23.10 mantic Ignored end of life, was needs-triage
22.04 LTS jammy
Fixed 1.21.0-1ubuntu0.1~esm1
20.04 LTS focal
Fixed 1.16.1-1ubuntu0.1~esm1

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
mongo-c-driver

Severity score breakdown

Parameter Value
Base score 4.0 · Medium
Attack vector Local
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact Low
Availability impact None
Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

References

Related Ubuntu Security Notices (USN)

    • USN-7613-1
    • mongo-c-driver vulnerabilities
    • 2 July 2025

Other references