{"cve":"CVE-2018-13863","nvd":{"published":"2018-07-10T20:29:00.220","modified":"2026-06-17T01:40:16.990","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":[],"references":["https://github.com/mongodb/js-bson/commit/bd61c45157c53a1698ff23770160cf4783e9ea4a","https://snyk.io/vuln/npm:bson:20180225","https://github.com/mongodb/js-bson/commit/bd61c45157c53a1698ff23770160cf4783e9ea4a","https://snyk.io/vuln/npm:bson:20180225"],"products":["mongodb:js-bson"],"source":"nvd","synced_at":"2026-10-19T20:51:47.459859389+00:00"},"epss":{"cve":"CVE-2018-13863","score":0.01941,"percentile":0.8013,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8462-q7x7-g2x4","url":"https://osv.dev/vulnerability/GHSA-8462-q7x7-g2x4","summary":"js-bson vulnerable to REDoS","modified":"2023-11-08T03:59:54.424805Z","packages":[{"ecosystem":"npm","name":"bson","purl":"pkg:npm/bson","ranges":[">=0.5.0 <1.0.5"],"fixed":["1.0.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}