Skip to main content
VulnerabilityPublished

CVE-2026-13077: MongoDB Server · Out-of-bounds Read

Affects MongoDB ServerSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.1 High · fixed in 8.3.7 : patch MongoDB Server soon.

Data as of 4 Dec 2026, 18:37 UTC

CVSS 4.0 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 21% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 8.3.7, 8.2.12, 8.0.28 +1
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Jul 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 5 Dec 2026.

What to do

Upgrade MongoDB Server to 8.3.7, 8.2.12, 8.0.28 or 7.0.39.

Affected software

ProductAffectedFixed in
MongoDBMongoDB ServerAffected
  • >=8.3.0 <8.3.7
Fixed in
  • 8.3.7
MongoDBMongoDB ServerAffected
  • >=8.2.0 <8.2.12
Fixed in
  • 8.2.12
MongoDBMongoDB ServerAffected
  • >=8.0 <8.0.28
Fixed in
  • 8.0.28
MongoDBMongoDB ServerAffected
  • >=7.0 <7.0.39
Fixed in
  • 7.0.39

AI-suggested

If you cannot patch yet, restrict authenticated user privileges to trusted users only and monitor for unusual aggregation pipeline usage. Avoid processing untrusted BSONColumn data containing CodeWScope elements.

Description

A missing bounds check in the BSON CodeWScope element accessors allows an attacker to trigger an out-of-bounds heap read via a crafted aggregation pipeline. The vulnerability can be exploited by an authenticated user by generating a malformed BSONColumn data containing a CodeWScope element, bypassing wire-level BSON validation. When the forged element is decompressed, the unchecked size value is used in pointer arithmetic, causing either a server crash or disclosure of adjacent heap memory contents.

References

Community reviews

Loading reviews…