Out-of-Bounds Heap Read in BSON CodeWScope Element Parsing via Malformed BSONColumn Data (MongoDB MongoDB Server)

CVE-2026-13077
HIGH 7.1

En bref

Source
NVD
EPSS
EPSS 0.42 % · centile 36 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
mongodb
Statut NVD
Analyzed

Description

A missing bounds check in the BSON CodeWScope element accessors allows an attacker to trigger an out-of-bounds heap read via a crafted aggregation pipeline. The vulnerability can be exploited by an authenticated user by generating a malformed BSONColumn data containing a CodeWScope element, bypassing wire-level BSON validation. When the forged element is decompressed, the unchecked size value is used in pointer arithmetic, causing either a server crash or disclosure of adjacent heap memory contents.

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 4.0HIGH 7.1CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:Nmongodb
CVSS 3.1HIGH 7.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:Hmongodb
CVSS 4.0HIGH 7.1CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XNVD · cna@mongodb.com (Secondary)
CVSS 3.1HIGH 7.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:HNVD · cna@mongodb.com (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
MongoDB · MongoDB Serveraffected 7.0 < 7.0.39 ; affected 8.0 < 8.0.28 ; affected 8.2.0 < 8.2.12 ; affected 8.3.0 < 8.3.7

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD