1. Archivio CVE
  2. 2026
  3. CVE-2026-84970

CVE-2026-84970

5.8 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H 5.8 – Media

Descrizione

A numeric truncation weakness exists in the JSON parsing component of the MongoDB C++ Driver's BSON library. An actor who controls the text that an embedding application hands to the library's public JSON parsing interface, when that text is very large, can cause the library to read memory beyond the supplied buffer and return it to the caller, to silently accept only part of the input as a complete document, or to terminate the process. No MongoDB server, credentials, or non-default configuration is required; the effect is confined to the process that uses the library.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
mongodb c++ driver >= 3.2.0 < 4.5.2 mongodb

Tipo di vulnerabilità

CWE-681 Incorrect Conversion between Numeric Types

When converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur.

Impatto sui sistemi

AmbitoImpatto
Altro, Integrità Stato imprevisto, Degradare la qualità

Come si previene

Sviluppo Avoid making conversion between numeric types. Always check for the allowed ranges.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 123 CVE di tipo CWE-681, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org