{"id":"CVE-2018-13863","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.","aliases":["GHSA-8462-q7x7-g2x4"],"modified":"2026-07-08T17:57:38.169750Z","published":"2018-07-10T20:29:00.220Z","references":[{"type":"FIX","url":"https://github.com/mongodb/js-bson/commit/bd61c45157c53a1698ff23770160cf4783e9ea4a"},{"type":"EVIDENCE","url":"https://snyk.io/vuln/npm:bson:20180225"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mongodb/js-bson","events":[{"introduced":"323ad7ab19c30e318a367dce5d7859b4622a1e5b"},{"fixed":"0ea96bd7177839f652393deea69f992136c86f67"},{"fixed":"bd61c45157c53a1698ff23770160cf4783e9ea4a"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:mongodb:js-bson:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0.5.0"},{"fixed":"1.0.5"}]}}],"versions":["V1.0.4","V1.0.3","V1.0.2","V1.0.1","V1.0.0","V0.5.7","V0.5.6","V0.5.5","V0.5.4","V0.5.3","V0.5.2","V0.5.1","V0.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-13863.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}