{"id":"GHSA-425c-ccf3-3jrr","summary":"Critical severity vulnerability that affects slpjs","details":"## 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 \u003e 0.21.3 are patched.\n\n### Workarounds\nUpgrade to any version \u003e= 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)","aliases":["CVE-2019-16762"],"modified":"2026-07-08T05:59:53.399179132Z","published":"2019-11-15T23:10:35Z","database_specific":{"github_reviewed_at":"2020-06-16T20:56:55Z","nvd_published_at":null,"cwe_ids":["CWE-20"],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/simpleledger/slpjs/security/advisories/GHSA-425c-ccf3-3jrr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16762"},{"type":"WEB","url":"https://github.com/simpleledger/slpjs/commit/ac8809b42e47790a6f0205991b36f2699ed10c84#diff-fe58606994c412ba56a65141a7aa4a62L701"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-425c-ccf3-3jrr"}],"affected":[{"package":{"name":"slpjs","ecosystem":"npm","purl":"pkg:npm/slpjs"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.21.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/11/GHSA-425c-ccf3-3jrr/GHSA-425c-ccf3-3jrr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:H"}]}