Skip to main content
CVE-2025-6706VulnerabilityPublished Updated

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

Affects mongodbSource GCVE Database

0
Compare
Authoritative record:CVE-2025-6706· Medium 5.0

Not known to be exploited · CVSS 5.0 Medium.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
5.0Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu Pro 20.04 LTSmongodbpkg:deb/ubuntu/mongodb?arch=source&distro=esm-apps/focalOther threatsAffected
  • 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu2 – 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3+esm1
5 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSmongodbpkg:deb/ubuntu/mongodb?arch=source&distro=esm-apps/bionicOther threatsAffected
  • 1:3.4.7-1 – 1:3.6.3-0ubuntu1.4+esm2
12 affected builds
Fixed in–
Ubuntu Pro 16.04 LTSmongodbpkg:deb/ubuntu/mongodb?arch=source&distro=esm-apps/xenialOther threatsAffected
  • =1:2.6.10-0ubuntu1
  • =1:2.6.10-0ubuntu1+esm2
Fixed in–
Ubuntu Pro 14.04 LTSmongodbpkg:deb/ubuntu/mongodb?arch=source&distro=esm-infra-legacy/trustyOther threatsAffected
  • 1:2.4.6-0ubuntu5 – 1:2.4.9-1ubuntu2+esm2
8 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…