# CVE-2018-13863

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability: affected before 1.0.5 (CNA); fix release not confirmed
- Status: published
- Published: 2018-07-10 · Modified: 2024-09-16
- Aliases: UBUNTU-CVE-2018-13863, DEBIAN-CVE-2018-13863, GHSA-8462-q7x7-g2x4
- Record: https://cvemate.com/vulnerability/CVE-2018-13863 · JSON: https://cvemate.com/vulnerability/CVE-2018-13863/json

## Description

```text
The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regular Expression Denial of Service (ReDoS) in lib/bson/decimal128.js. The flaw is triggered when the Decimal128.fromString() function is called to parse a long untrusted string.
```

## Signals

- CVSS: 7.5 high (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.912%, percentile 80.517%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian node-mongodb (Debian): \< 3.1.10+~3.1.9-1
- ubuntu node-mongodb (Ubuntu): \< 3.5.5+~3.2.7-1
- mongodb js-bson: ≥ 0.5.0, \< 1.0.5
- Npm bson (Npm): ≥ 0.5.0, \< 1.0.5

## References

- <https://github.com/mongodb/js-bson/commit/bd61c45157c53a1698ff23770160cf4783e9ea4a>
- <https://snyk.io/vuln/npm:bson:20180225>
- <https://ubuntu.com/security/CVE-2018-13863>
- <https://www.cve.org/CVERecord?id=CVE-2018-13863>
- <https://security-tracker.debian.org/tracker/CVE-2018-13863>
- <https://nvd.nist.gov/vuln/detail/CVE-2018-13863>
- <https://github.com/advisories/GHSA-8462-q7x7-g2x4>
- <https://github.com/mongodb/js-bson>

---

Data as of 2026-12-05T07:32:57.090Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
