CVE-2026-13077 json
Out-of-Bounds Heap Read in BSON CodeWScope Element Parsing via Malformed BSONColumn Data
published 2026-07-22 3 mo ago modified 2026-10-24 15 d ago also BIT-mongodb-2026-13077 , EUVD-2026-47784
- cvss
- 7.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 36%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami mongodb 7.0.39, 8.0.28, 8.2.12, 8.3.7
- MongoDB MongoDB Server 7.0.39, 8.0.28, 8.2.12, 8.3.7
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.42% chance of exploitation in the next 30 days, higher than 36% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 7.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N |
| CNA | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H |
| CNA | 4.0 | 7.1 | CVSS: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:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | mongodb | >=7.0.0, <7.0.39 >=8.0.0, <8.0.28 >=8.2.0, <8.2.12 >=8.3.0, <8.3.7 |
7.0.39 8.0.28 8.2.12 8.3.7 |
Affected products
- MongoDB MongoDB Server
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
- Technology feeds
References
-
jira.mongodb.org
/browse/SERVER-129103
vendor-advisory, patch, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-13077
web
Sources
- CVE List CVE-2026-13077
- NVD CVE-2026-13077
- OSV BIT-mongodb-2026-13077
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.