{"id":"CVE-2018-13863","aliases":["GHSA-8462-q7x7-g2x4"],"url":"https://o3.security/vulnerability/CVE-2018-13863","summary":"js-bson vulnerable to REDoS","details":"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.","published":"2018-07-10T20:29:00.220Z","modified":"2026-07-08T17:57:38.169750Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"npm","name":"bson","fixedVersion":"1.0.5"}],"fix":{"url":"https://github.com/mongodb/js-bson/commit/bd61c45157c53a1698ff23770160cf4783e9ea4a","label":"mongodb/js-bson@bd61c45"},"references":[{"type":"FIX","url":"https://github.com/mongodb/js-bson/commit/bd61c45157c53a1698ff23770160cf4783e9ea4a"},{"type":"EVIDENCE","url":"https://snyk.io/vuln/npm:bson:20180225"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T17:57:38.169750Z"}}