CVE-2025-6706
published 2025-06-26CVE-2025-6706: An authenticated user may trigger a use after free that may result in MongoDB Server crash and other unexpected behavior, even if the user does not have…
PriorityP353high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
0.21%
11.8th percentile
An authenticated user may trigger a use after free that may result in MongoDB Server crash and other unexpected behavior, even if the user does not have authorization to shut down a server.
The crash is triggered on affected versions by issuing an aggregation framework operation using a specific combination of rarely-used aggregation pipeline expressions. This issue affects MongoDB Server v6.0 version prior to 6.0.21, MongoDB Server v7.0 version prior to 7.0.17 and MongoDB Server v8.0 version prior to 8.0.4 when the SBE engine is enabled.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| mongodb | mongodb | >= 6.0.0 < 6.0.21 | 6.0.21 |
| mongodb | mongodb | >= 7.0.0 < 7.0.17 | 7.0.17 |
| mongodb | mongodb | >= 8.0.0 < 8.0.4 | 8.0.4 |
| mongodb_inc | mongodb_server | >= 6.0 < 6.0.21 | 6.0.21 |
| mongodb_inc | mongodb_server | >= 7.0 < 7.0.17 | 7.0.17 |
| mongodb_inc | mongodb_server | >= 8.0 < 8.0.4 | 8.0.4 |
| msrc | cbl2_lua_5.3.5-11_on_cbl_mariner_2.0 | — | — |
| msrc | cm1_lua_5.3.5-8_on_cbl_mariner_1.0 | — | — |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv8.8HIGH
vendor_msrc7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-9pjr-27w4-fm42: An authenticated user may trigger a use after free that may result in MongoDB Server crash and other unexpected behavior, even if the user does not ha
ghsa_unreviewed·2025-06-26
CVE-2025-6706 [MEDIUM] CWE-416 GHSA-9pjr-27w4-fm42: An authenticated user may trigger a use after free that may result in MongoDB Server crash and other unexpected behavior, even if the user does not ha
An authenticated user may trigger a use after free that may result in MongoDB Server crash and other unexpected behavior, even if the user does not have authorization to shut down a server.
The crash is triggered on affected versions by issuing an aggregation framework operation using a specific combination of rarely-used aggregation pipeline expressions. This issue affects MongoDB Server v6.0 version prior to 6.0.21, MongoDB Server v7.0 version prior to 7.0.17 and MongoDB Server v8.0 version prior to 8.0.4 when the SBE engine is enabled.
OSV
CVE-2025-6706: An authenticated user may trigger a use after free that may result in MongoDB Server crash and other unexpected behavior, even if the user does not ha
osv·2025-06-26·CVSS 8.8
CVE-2025-6706 [HIGH] CVE-2025-6706: An authenticated user may trigger a use after free that may result in MongoDB Server crash and other unexpected behavior, even if the user does not ha
An authenticated user may trigger a use after free that may result in MongoDB Server crash and other unexpected behavior, even if the user does not have authorization to shut down a server. The crash is triggered on affected versions by issuing an aggregation framework operation using a specific combination of rarely-used aggregation pipeline expressions. This issue affects MongoDB Server v6.0 version prior to 6.0.21, MongoDB Server v7.0 version prior to 7.0.17 and MongoDB Server v8.0 version prior to 8.0.4 when the SBE engine is enabled.
Microsoft
Lua 5.3.5 has a use-after-free in lua_upvaluejoin in lapi.c. For example a crash outcome might be achieved by an attacker who is able to trigger a debug.upvaluejoin call in which the arguments have ce
vendor_msrc·2019-01-08·CVSS 7.5
CVE-2019-6706 [HIGH] CWE-416 Lua 5.3.5 has a use-after-free in lua_upvaluejoin in lapi.c. For example a crash outcome might be achieved by an attacker who is able to trigger a debug.upvaluejoin call in which the arguments have ce
Lua 5.3.5 has a use-after-free in lua_upvaluejoin in lapi.c. For example a crash outcome might be achieved by an attacker who is able to trigger a debug.upvaluejoin call in which the arguments have certain relationships.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-06-26
Published