Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-8336: CWE-416: Use After Free in MongoDB, Inc. MongoDB Server

0
High
VulnerabilityCVE-2026-8336cvecve-2026-8336cwe-416
Published: Wed May 13 2026 (05/13/2026, 00:16:16 UTC)
Source: CVE Database V5
Vendor/Project: MongoDB, Inc.
Product: MongoDB Server

Description

CVE-2026-8336 is a use-after-free vulnerability in MongoDB Server that can be triggered by an authenticated user invoking certain server-side JavaScript functions, leading to a denial-of-service (DoS) condition by crashing the mongod process. It affects MongoDB Server versions 7. 0 prior to 7. 0. 34, 8. 0 prior to 8. 0. 23, 8. 2 prior to 8. 2.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/13/2026, 00:36:25 UTC

Technical Analysis

This vulnerability (CVE-2026-8336) is a use-after-free issue (CWE-416) in MongoDB Server's handling of certain server-side JavaScript execution paths. Specifically, after invoking the internal function $_internalJsEmit or the mapreduce map function in a certain manner, subsequent use of server-side JavaScript features like $where, $function, or the mapreduce reduce stage can cause the mongod process to crash. The flaw requires authenticated access and affects multiple MongoDB Server versions before the specified patched releases. The CVSS 4.0 base score is 7.7, indicating a high severity due to network attack vector, partial complexity, and significant impact on confidentiality, integrity, and availability.

Potential Impact

An authenticated user can exploit this vulnerability to cause a denial-of-service by crashing the mongod process, resulting in service disruption. There is no indication of remote code execution or data corruption beyond the DoS impact. The vulnerability affects multiple recent MongoDB Server versions prior to the fixed releases.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The affected versions are listed, but no explicit patch or official fix information is provided in the available data. Until a patch is confirmed, avoid using the $_internalJsEmit function directly and exercise caution with server-side JavaScript features such as $where, $function, and mapreduce commands in environments where authenticated users have access. Monitor MongoDB's official advisories for updates and apply patches promptly once available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mongodb
Date Reserved
2026-05-11T15:37:59.492Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a03c40bcbff5d8610358781

Added to database: 5/13/2026, 12:21:31 AM

Last enriched: 5/13/2026, 12:36:25 AM

Last updated: 5/13/2026, 1:22:17 AM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses