CVE-2026-13077
published high CVSS 4.0 · 7.1Out-of-Bounds Heap Read in BSON CodeWScope Element Parsing via Malformed BSONColumn Data
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB | — | MongoDB Server7.0 to < 7.0.39 · 8.0 to < 8.0.28 · 8.2.0 to < 8.2.12 · 8.3.0 to < 8.3.7 · Other versions: unaffected | Affected | Not stated | mongodb |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- mongodb · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.1 | high | mongodb · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB | MongoDB Server | 7.0 to < 7.0.39 (affected · semver)8.0 to < 8.0.28 (affected · semver)8.2.0 to < 8.2.12 (affected · semver)8.3.0 to < 8.3.7 (affected · semver)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-125 CWE-125: Out-of-bounds Read
References
1Provider assertions
2mongodb · cna
Out-of-Bounds Heap Read in BSON CodeWScope Element Parsing via Malformed BSONColumn Data
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3b134ab878ca876e2e415a4e20c334fae3f62b84baedfd55f419bc93cb57623c
- Ingested
- 23 Sep 2026, 09:01:12 UTC
- Source record
- Official CVE record