Skip to content
This page tracks the Ubuntu fix status. The vulnerability itself is described on the main CVE page. View CVE-2026-93395 →
Unrated

A missing lower-bound validation in the bson_new_from_buffer() function of libbson allows an integer underflow when processing BSON data with a zero-l...

UBUNTU-CVE-2026-93395 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Ubuntu:Pro:20.04:LTSmongo-c-driver
All versions→ Not listed
Ubuntu:Pro:22.04:LTSmongo-c-driver
All versions→ Not listed
Ubuntu:Pro:24.04:LTSmongo-c-driver
All versions→ Not listed
Ubuntu:26.04:LTSmongo-c-driver
All versions→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

A missing lower-bound validation in the bson_new_from_buffer() function of libbson allows an integer underflow when processing BSON data with a zero-length prefix. The function reads a 32-bit document length from the input buffer but does not verify that the value is at least 5 (the minimum valid BSON document size) before using it in an array index calculation. When the length field is zero, the expression used to check the document's null terminator wraps to UINT32_MAX, causing a heap out-of-bounds read that crashes the process. An unauthorized party who can supply crafted BSON input to an application using this API can cause a denial of service.

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details