Skip to content
OpenAdvisories
High DLA-4160-1 6 CVEs

libbson-xs-perl - security update

Published May 9, 2025 · Updated Mar 9, 2026

Fixed packages 1

ReleasePackageFixed in
Debian · 11 libbson-xs-perl 0.8.4-1+deb11u1

Vulnerabilities 6

  • 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 client C Driver may infinitely loop when validating certain BSON input data

    When calling bson_utf8_validate on some inputs a loop with an exit condition that cannot be reached may occur, i.e. an infinite loop. This issue affects All MongoDB C Driver versions prior to versions 1.25.0.

  • 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

  • Unscored —

    In MongoDB libbson 1.7.0, the bson_iter_codewscope function in bson-iter.c miscalculates a bson_utf8_validate length ar…

  • Unscored —

    _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 …