Vulnerabilities

CVE-2026-1849

High 7.5 CVSS 3.1

Description

MongoDB Server may experience an out-of-memory failure while evaluating expressions that produce deeply nested documents. The issue arises in recursive functions because the server does not periodically check the depth of the expression.

Description as published by the source, in English.

Key facts

Published
2026-02-10
Last modified
2026-06-17
Assigned by
cna@mongodb.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.3 % higher than 19 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Mongodb Mongodb ≥ 7.0.0, < 7.0.29 Affected
Mongodb Mongodb ≥ 8.0.0, < 8.0.18 Affected
Mongodb Mongodb ≥ 8.2.0, < 8.2.2 Affected

Weakness type

  • CWE-674: Uncontrolled Recursion

    The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities