Advisory

DEBIAN-CVE-2026-93395

Also known as: CVE-2026-93395

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-09-17 21:17 UTC
Modified
2026-09-26 09:00 UTC

Affected packages and fixes

mongo-c-driver

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

mongo-c-driver

Debian packages (deb) · Debian 13

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

mongo-c-driver

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 2.4.0-1 (ecosystem)

Fixed versions

2.4.0-1

Fix

  • Fixed version 2.4.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences