Skip to main content
VulnerabilityPublished

CVE-2026-96297: MongoDB Server · Use After Free

Affects MongoDB ServerSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.0 Medium · fixed in 9.0.2 : update MongoDB Server when convenient.

Data as of 26 Nov 2026, 14:59 UTC

CVSS 4.0 base score
6.0Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 26% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 9.0.2, 8.3.13, 8.0.34 +1
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Oct 2026

  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 26 Nov 2026.

What to do

Upgrade MongoDB Server to 9.0.2, 8.3.13, 8.0.34 or 7.0.45.

Affected software

ProductAffectedFixed in
MongoDBMongoDB ServerAffected
  • >=9.0 <9.0.2
Fixed in
  • 9.0.2
MongoDBMongoDB ServerAffected
  • >=8.3.0 <8.3.13
Fixed in
  • 8.3.13
MongoDBMongoDB ServerAffected
  • >=8.0 <8.0.34
Fixed in
  • 8.0.34
MongoDBMongoDB ServerAffected
  • >=7.0 <7.0.45
Fixed in
  • 7.0.45

AI-suggested

Until a fix is confirmed, avoid running aggregate commands with an internal aggregation stage combined with a batch size of 0.

Description

Use of freed memory in the aggregation feature of MongoDB Server can cause the server to read data from a memory area after it has been released. When an internal aggregation stage is combined with a batch size of 0, the server may read from memory that is no longer in use. Because that memory can be reused for other data before it is read, query results returned to the client may contain unrelated data from the server process. Depending on the state of memory at the time, the server process may also terminate unexpectedly. The behavior can occur when an authenticated user with read privileges runs an aggregate command that combines these two settings.

References

Community reviews

Loading reviews…