p PatchFirst

CVE-2026-118581

CVE-2026-118581 · NoSQL injection via mismatched BSON size prefix in raw document splice to the wire protocol

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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.

CVSS 6.9 · Moyenne · EPSS 0,2% · Correctif disponible

Publication
Mise à jour

Pile logicielle: system

Produits et versions concernés

  • java driver

    Versions du logiciel
    • ≥ 5.8.0, < 5.14.0: Concernée (semver)

    Mettez à jour vers 5.14.0

  • mongo-java-driver Debian:12

    Versions du logiciel
    • 3.6.3-2
    • 3.6.3-2.1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • mongo-java-driver Debian:13

    Versions du logiciel
    • 3.6.3-2
    • 3.6.3-2.1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • mongo-java-driver Debian:14

    Versions du logiciel
    • 3.6.3-2
    • 3.6.3-2.1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

Sources originales

Vérifiez votre serveur →