CVE-2026-8199: Post-auth memory exhaustion via bitwise match expressions

Published May 13, 2026
·
Updated

An authenticated user can cause excess memory usage via bitwise match expression AST processing of $bitsAllSet, $bitsAnySet, $bitsAllClear, and $bitsAnyClear. This contributes to memory pressure and may lead to availability loss by OOM.

This issue impacts MongoDB Server v7.0 versions prior to 7.0.34, v8.0 versions prior to 8.0.23, v8.2 versions prior to 8.2.9 and v8.3 versions prior to 8.3.2.

Affected Software

5 affected components
MongoDB MongoDB Server>=7.0.0<7.0.34, >=8.0.0<8.0.23, >=8.2.0<8.2.9, >=8.3.0<8.3.2
MongoDB MongoDB>=7.0.0<7.0.34
MongoDB MongoDB>=8.0.0<8.0.23
MongoDB MongoDB>=8.2.0<8.2.9
MongoDB MongoDB>=8.3.0<8.3.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade MongoDB Server to a version that resolves this vulnerability.

    Fixed in 7.0.34
  2. Upgrade

    Upgrade MongoDB Server to a version that resolves this vulnerability.

    Fixed in 8.0.23
  3. Upgrade

    Upgrade MongoDB Server to a version that resolves this vulnerability.

    Fixed in 8.2.9
  4. Upgrade

    Upgrade MongoDB Server to a version that resolves this vulnerability.

    Fixed in 8.3.2

Event History

May 13, 2026
CVE Published
via MITRE·12:05 AM
Data Sourced
via MITRE·12:05 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 AM
DescriptionSeverityWeaknessAffected Software
Feb 12, 58397
Event
via FIRST·11:14 PM

Frequently Asked Questions

1

What is the severity of CVE-2026-8199?

CVE-2026-8199 has a high severity rating due to its potential to exhaust memory and lead to Denial of Service.

2

How do I fix CVE-2026-8199?

To mitigate CVE-2026-8199, upgrade MongoDB Server to a version beyond 7.0.34, 8.0.23, 8.2.9, or 8.3.2.

3

What impact does CVE-2026-8199 have on MongoDB Server?

CVE-2026-8199 can lead to increased memory pressure, potentially causing the server to run out of memory and become unavailable.

4

Who is affected by CVE-2026-8199?

Authenticated users of MongoDB Server versions within the specified vulnerable ranges are affected by CVE-2026-8199.

5

What are the specific expressions that trigger CVE-2026-8199?

CVE-2026-8199 is triggered by using bitwise match expressions such as $bitsAllSet, $bitsAnySet, $bitsAllClear, and $bitsAnyClear.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203