Skip to content
OpenAdvisories
High USN-7613-1 3 CVEs

mongo-c-driver vulnerabilities

Published Jul 2, 2025 · Updated Apr 27, 2026

Summary

Karman Liu discovered that mongo-c-driver did not correctly handle certain
memory operations. An attacker could possibly use this issue to cause a
denial of service or execute arbitrary code. (CVE-2024-6381)

Karman Liu discovered that mongo-c-driver did not correctly handle certain
memory operations. An attacker could possibly use this issue to cause a
denial of service or execute arbitrary code. This issue only affected
Ubuntu 24.04 LTS. (CVE-2024-6383, CVE-2025-0755)

Fixed packages 3

ReleasePackageFixed in
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS mongo-c-driver 1.16.1-1ubuntu0.1~esm1
Ubuntu · Pro 22.04 LTS Pro:22.04:LTS mongo-c-driver 1.21.0-1ubuntu0.1~esm1
Ubuntu · Pro 24.04 LTS Pro:24.04:LTS mongo-c-driver 1.26.0-1.1ubuntu2+esm1

Vulnerabilities 3

  • High 8.4

    MongoDB C Driver bson library may be susceptible to buffer overflow

    The various bson_append functions in the MongoDB C driver library may be susceptible to buffer overflow when performing operations that could result in a final BSON document which exceeds the maximum allowable size (INT32_MAX), resulting in a segmentation fau…

  • Medium 5.3

    MongoDB C Driver bson_string_append may be vulnerable to a buffer overflow

    The bson_string_append function in MongoDB C Driver may be vulnerable to a buffer overflow where the function might attempt to allocate too small of buffer and may lead to memory corruption of neighbouring heap memory. This issue affects libbson versions prio…

  • Medium 4.0

    MongoDB C Driver bson_strfreev may be susceptible to integer overflow

    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

References

  • report
    https://ubuntu.com/security/CVE-2024-6381
  • report
    https://ubuntu.com/security/CVE-2024-6383
  • report
    https://ubuntu.com/security/CVE-2025-0755