Skip to main content
VulnerabilityPublished

CVE-2025-13507: MongoDB Server · Improper Validation of Specified Quantity in Input

Affects MongoDB ServerSource CVE Database V5

0

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

Data as of 26 Oct 2026, 14:05 UTC

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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: 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 Oct 2026.

What to do

Upgrade MongoDB Server to 8.2.1, 8.0.16 or 7.0.26.

Affected software

ProductAffectedFixed in
MongoDB Inc. MongoDB ServerAffected
  • =7.0
  • =8.0
  • =8.2
  • >=7.0 <7.0.26
  • >=8.0 <8.0.16
  • >=8.2 <8.2.1
Fixed in
  • 7.0.26
  • 8.0.16
  • 8.2.1

AI-suggested

1. 2. If you cannot patch yet, implement network-level controls to restrict access to MongoDB servers, limiting exposure to trusted IP addresses and internal networks only. 3. Monitor MongoDB server logs and system monitoring tools for unexpected process terminations or assertion failures indicative of exploitation attempts. 4. Employ rate limiting and anomaly detection on incoming database requests to detect and block attempts to send oversized BSON documents. 5. Review and harden time series data ingestion pipelines to validate input sizes before forwarding to MongoDB. 6. Maintain up-to-date backups and disaster recovery plans to minimize downtime impact in case of service disruption. 7. Educate DevOps and security teams about this specific vulnerability to ensure rapid response and patch management. 8. Consider deploying MongoDB in high-availability clusters or with failover mechanisms to reduce single points of failure.

Description

Inconsistent object size validation in time series processing logic may result in later processing of oversized BSON documents leading to an assert failing and process termination. This issue impacts MongoDB Server v7.0 versions prior to 7.0.26, v8.0 versions prior to 8.0.16 and MongoDB server v8.2 versions prior to 8.2.1.

References

Community reviews

Loading reviews…