VYPR

Libbson

by MongoDB

Source repositories

CVEs (5)

  • CVE-2025-0755HigMar 18, 2025
    risk 0.55cvss 8.4epss 0.01

    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 fault and possible…

  • CVE-2017-14227HigSep 9, 2017
    risk 0.49cvss 7.5epss 0.03

    In MongoDB libbson 1.7.0, the bson_iter_codewscope function in bson-iter.c miscalculates a bson_utf8_validate length argument, which allows remote attackers to cause a denial of service (heap-based buffer over-read in the bson_utf8_validate function in bson-utf8.c), as…

  • CVE-2024-6383MedJul 3, 2024
    risk 0.35cvss 5.3epss 0.01

    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 prior to 1.27.1

  • CVE-2024-6381MedJul 2, 2024
    risk 0.26cvss 4.0epss 0.00

    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

  • CVE-2018-16790HigSep 10, 2018
    risk 0.00cvss 8.1epss 0.02

    _bson_iter_next_internal in bson-iter.c in libbson 1.12.0, as used in MongoDB mongo-c-driver and other products, has a heap-based buffer over-read via a crafted bson buffer.