CVE-2019-16762 json
Validator parsing discrepancy due to string encoding in NPM slpjs
published 2019-11-15 6 y ago modified 2026-07-08 4 mo ago also GHSA-425c-ccf3-3jrr , EUVD-2019-0725
- cvss
- 5.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known
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.
Patch / fix
- npm slpjs 0.21.4
- simpleledger slpjs 0.21.4
Exploit prediction
1.10% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/simpleledger/slpjs/security/advisories/GHSA-425c-ccf3-3jrr referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.7 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:H |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:H |
| NVD | 2.0 | 4.9 | AV:N/AC:M/Au:S/C:N/I:P/A:P |
| GitHub | 3.1 | 5.7 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | slpjs | <0.21.4 |
0.21.4 |
Affected products
- simpleledger slpjs
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/simpleledger/slpjs/commit/ac8809b42e47790a6f0205991b36f2699ed10c84#diff-fe58606994c412ba56a65141a7aa4a62L701
web, patch, third-party-advisory
-
github.com
/simpleledger/slpjs/security/advisories/GHSA-425c-ccf3-3jrr
web, exploit, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-16762
advisory
-
github.com
/advisories/GHSA-425c-ccf3-3jrr
advisory
Sources
- CVE List CVE-2019-16762
- GitHub Advisory GHSA-425c-ccf3-3jrr
- NVD CVE-2019-16762
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.