{"id":"CVE-2019-16762","aliases":["CVE-2019-16762","GHSA-425c-ccf3-3jrr"],"related":[],"kind":"vulnerability","state":"published","title":"Validator parsing discrepancy due to string encoding in NPM slpjs","summary":"A specially crafted Bitcoin script can cause a discrepancy between the specified SLP consensus rules and the validation result of the slpjs npm package. An attacker could create a specially crafted Bitcoin script in order to cause a hard-fork from the SLP consensus. Affected users can upgrade to any version >= 0.21.4.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A specially crafted Bitcoin script can cause a discrepancy between the specified SLP consensus rules and the validation result of the slpjs npm package. An attacker could create a specially crafted Bitcoin script in order to cause a hard-fork from the SLP consensus. Affected users can upgrade to any version >= 0.21.4.","source":"cvelist"},{"lang":"en","text":"## Validator parsing discrepancy due to string encoding\n\n### Impact\nA specially crafted Bitcoin script can cause a discrepancy between the specified SLP consensus rules and the validation result of the slpjs npm package. An attacker could create a specially crafted Bitcoin script in order to cause a hard-fork from the SLP consensus.\n\n### Patches\nAll versions > 0.21.3 are patched.\n\n### Workarounds\nUpgrade to any version >= 0.21.4.\n\n### References\nThe bug was located and fixed [here](https://github.com/simpleledger/slpjs/commit/ac8809b42e47790a6f0205991b36f2699ed10c84#diff-fe58606994c412ba56a65141a7aa4a62L701).\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in the [slpjs repo](https://github.com/simpleledger/slpjs/issues)\n* Email us at [info@slp.cash](mailto:info@slp.cash)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Un script de Bitcoin especialmente diseñado puede causar una discrepancia entre las reglas de consenso SLP especificadas y el resultado de comprobación del paquete slpjs npm. Un atacante podría crear un script de Bitcoin especialmente diseñado para causar una bifurcación física del consenso de SLP. Los usuarios afectados pueden actualizar a cualquier versión posterior a 0.21.4 incluyéndola.","source":"nvd"}],"published":"2019-11-15T23:10:35.000Z","modified":"2026-07-08T05:59:53.399Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:H","score":5.7,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:H","score":5.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:H","score":5.7,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:H","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:P","score":4.9,"rating":"MEDIUM"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"type":"custom","introduced":"< 0.21.4","fixed":"0.21.4","status":"affected"}],"vendor":"simpleledger","product":"slpjs","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.21.4"}],"ecosystem":"npm","package":"slpjs","purl":"pkg:npm/slpjs","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.21.4"}],"vendor":"simpleledger","product":"slpjs","cpe":"cpe:2.3:a:simpleledger:slpjs:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/simpleledger/slpjs/security/advisories/GHSA-425c-ccf3-3jrr","tags":["exploit","patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/simpleledger/slpjs/commit/ac8809b42e47790a6f0205991b36f2699ed10c84#diff-fe58606994c412ba56a65141a7aa4a62L701","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16762","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-425c-ccf3-3jrr","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-16762","url":"https://www.cve.org/CVERecord?id=CVE-2019-16762","licence":"CVE Terms of Use","modified":"2024-08-05T01:24:47.227Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-425c-ccf3-3jrr","url":"https://github.com/advisories/GHSA-425c-ccf3-3jrr","licence":"CC-BY-4.0","modified":"2026-07-08T05:59:53.399Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-16762","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16762","licence":"Public domain","modified":"2026-06-17T02:22:44.897Z"}],"updatedAt":"2026-11-25T22:57:48.075Z","epss":{"score":0.01096,"percentile":0.66511,"date":"2026-12-01T12:00:22.000Z"}}