DEBIAN-CVE-2026-118581

    Dashboard / Vulnerabilities / DEBIAN-CVE-2026-118581

    DEBIAN-CVE-2026-118581

    Published: 28 Oct 2026Last Modified: 6 Nov 2026
    Upstream:

    Summary:

    Details: A BSON encoding component of the MongoDB Java Driver does not verify that an externally supplied raw document's self-declared length agrees with the extent of the byte range it is given before that range is copied into an outgoing database command. An application that wraps untrusted raw bytes in such a document and uses it as part of a command can therefore emit a structurally inconsistent message, causing the database to interpret attacker-supplied trailing content as additional fields of the surrounding command. No authentication to the driver or database is required beyond the ability to influence those bytes through the victim application, and no user interaction is needed. The result is unintended modification of the command actually executed, which can alter the data read or written under the application's credentials.

    Affected packages

    Package

    Name: mongo-java-driver

    Purl: pkg:deb/debian/mongo-java-driver?arch=source&distro=bookworm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    3.6.3-2
    3.6.3-2.1
    3.6.3-3

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    DEBIAN-CVE-2026-118581 | CVE-DB