CVE-2026-9740: Unbounded recursion in BSONColumn interleaved-reference causes pre-auth stack overflow
A vulnerability in MongoDB Server's BSON validation logic allows an unauthenticated user to crash the mongod process by sending a specially crafted message. The BSON validator's handling of certain nested binary data structures permits uncontrolled mutual recursion between validation functions, where each re-entry resets internal depth tracking.
CVE-2026-9740 lets an unauthenticated network user crash a MongoDB Server process by sending a malformed message. The known impact is availability loss, not data theft or modification, but a database crash can still disrupt dependent applications.
Executive priority
Treat this as a high-priority availability risk for MongoDB-backed services. Prioritize internet-facing or broadly reachable deployments first, then internal shared database environments. Business urgency depends on whether affected versions are exposed to untrusted traffic.
Technical view
MongoDB Server BSON validation has uncontrolled mutual recursion when processing certain BSONColumn nested binary structures. Re-entry resets internal depth tracking, allowing stack exhaustion and a mongod crash before authentication. The CVSS 4.0 score is 8.7 with high availability impact.
Likely exposure
Exposure is most likely where affected MongoDB Server versions are reachable from untrusted networks. The bundle lists MongoDB Server 8.3.0, 8.2.0, 8.0.0, and 7.0.0 as affected, with other versions defaulting to unaffected.
Exploitation context
The source bundle supports unauthenticated remote denial of service. It does not show CISA KEV listing, active exploitation, public exploit availability, fixed versions, or confirmed mitigations beyond vendor tracking.
Researcher notes
Evidence is limited to the CVE description and MongoDB Jira reference in the provided bundle. The described flaw is CWE-674 uncontrolled recursion in BSON validation, causing pre-auth stack overflow and mongod termination. No confidentiality or integrity impact is claimed.
Mitigation direction
Check MongoDB SERVER-125063 and vendor advisories for fixed versions or workaround guidance.
Inventory MongoDB Server versions and prioritize listed affected instances.
Restrict MongoDB network exposure to trusted application hosts only.
Ensure service supervision and high availability are configured for mongod restarts.
Monitor logs and availability alerts for unexpected mongod crashes.
Validation and detection
Confirm whether any deployed MongoDB Server matches the listed affected version entries.
Review firewall, security group, and bindIp exposure for each MongoDB instance.
Check database uptime and crash telemetry since June 9, 2026.
Verify vendor guidance before applying patches or operational workarounds.
Document any externally reachable affected instance as high priority.
Based on public source material and reviewed before publication.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-674: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve
time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present,
the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-674 · source CWE mapping
Uncontrolled Recursion
Uncontrolled Recursion represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.