Regular Expression Denial of Service Vulnerability in MongoDB bson JavaScript Module

Check todayDenial of service over the network, no login needed.
7.5HIGH

CVE-2018-13863

Key Information:

Vendor

Mongodb

Status
CVE ID
CVE ID:
CVE-2018-13863
Vendor
CVE Published:
10 July 2018

Timeline

  • Vulnerability Reserved

  • Vulnerability published

How risky is it?

  • Yes: Works over the network, no login needed
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Js-bson. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Check today"
  • It can be exploited remotely without credentials.
  • Its CVSS severity is high (7.5).

What is CVE-2018-13863?

The MongoDB bson JavaScript module, specifically within versions 0.5.0 to 1.0.x before 1.0.5, is susceptible to a Regular Expression Denial of Service (ReDoS) attack. This vulnerability is triggered when the Decimal128.fromString() function processes long untrusted strings, leading to potential denial of service conditions. The flaw stems from insufficient validation of the input, allowing attackers to craft specific input strings that can significantly degrade system performance and availability.

References

Use-After-Free Vulnerability in MongoDB Server's Replication Component

CVE-2026-118383
MongodbMongodb ServerπŸ˜„πŸ‘Ύ9.5CRITICAL

TLS Implementation Flaw in MongoDB on macOS for IPv6 Connections

CVE-2026-120808
MongodbMongodb Server9.1CRITICAL

Memory Exhaustion Vulnerability in MongoDB

CVE-2026-25611
MongoDBMongodb Server8.7HIGH
View more Mongodb vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
.