Vulnerability record · OpenEuler 22.03-LTS-SP4
An update for mongo-c-driver is now available for openEuler-22.03-LTS-SP4
OpenEuler 22.03-LTS-SP4
What it fixes
Synopsis:
mongo-c-driver security updateSummary:
An update for mongo-c-driver is now available for openEuler-22.03-LTS-SP4Description:
mongo-c-driver is a project that includes two libraries: libmongoc, a client library written in C for MongoDB. libbson, a library providing useful routines related to building, parsing, and iterating BSON documents.
An out-of-bounds read in SCRAM authentication response parsing in the MongoDB C Driver can read one byte beyond a fixed-size buffer when processing a malformed server-final message. A server or network intermediary able to provide this message before server-signature verification can cause the application using the driver to terminate. The extra byte is not returned through the protocol.(CVE-2026-106428)
An off-by-one error in the BSON bulk document writer in the MongoDB C Driver can write one zero byte immediately past a heap allocation when a document ends at a specific buffer boundary. An actor who can influence the size of documents serialized by an embedding application can corrupt adjacent process memory or terminate the process. Reaching this issue requires the application to use the BSON bulk-writer API and produce a precise cumulative document size.(CVE-2026-106431)
The BSON buffer-reservation API in the MongoDB C Driver can record a length smaller than the five-byte BSON minimum. Later append or comparison operations can underflow unsigned length calculations and read or write outside the document buffer. An actor who can influence the length supplied by an embedding application can cause the application to terminate or read or corrupt adjacent process memory. Reaching this issue requires the application to pass an undersized value to bson_reserve_buffer and then perform an affected operation.(CVE-2026-106437)
An incorrect calculation in Decimal128 string parsing in the MongoDB C Driver can accept certain over-precision inputs containing leading zeros instead of rejecting them. This produces a value…
Manual fix · OpenEuler 22.03-LTS-SP4
sudo dnf upgrade libbson libbson-devel mongo-c-driver mongo-c-driver-devel mongo-c-driver-helprpm -q libbson libbson-devel mongo-c-driver mongo-c-driver-devel mongo-c-driver-helpSources