# CVE-2025-54885: Thinbus generates insufficient entropy: 252 bits vs minimum 256 bits

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-02)
- Published: 2025-08-06T17:11:42.000Z
- Modified: 2026-06-17T09:40:52.010Z
- Also known as: GHSA-8q6v-474h-whgg
- Weaknesses: CWE-331
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Thinbus Javascript Secure Remote Password is a browser SRP6a implementation for zero-knowledge password authentication. In versions 2.0.0 and below, a protocol compliance bug causes the client to generate a fixed 252 bits of entropy instead of the intended bit length of the safe prime (defaulted to 2048 bits). The client public value is being generated from a private value that is 4 bits below the specification. This reduces the protocol's designed security margin it is now practically exploitable. The servers full sized 2048 bit random number is used to create the shared session key and password proof. This is fixed in version 2.0.1.

(As written by CVE List.)

## Affected

- simbo1905 thinbus-srp-npm: < 2.0.1
- thinbus-srp (npm): before 2.0.1

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U`

## References

- <https://github.com/simbo1905/thinbus-srp-npm/security/advisories/GHSA-8q6v-474h-whgg> (web)
- <https://github.com/simbo1905/thinbus-srp-npm/issues/28> (web)
- <https://github.com/simbo1905/thinbus-srp-npm/pull/30/commits/4aeaea2366e090765a8204059c7bcf3616438d31> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-54885> (advisory)
- <https://github.com/simbo1905/thinbus-srp-npm/commit/aa7064c1db7294ce867e9bc92f26fa6c71a5a2cb> (web)
- <https://github.com/simbo1905/thinbus-srp-npm> (package)

## Sources

- CVE List: [CVE-2025-54885](https://www.cve.org/CVERecord?id=CVE-2025-54885), CVE Terms of Use, modified 2025-08-07
- GitHub Advisory Database: [GHSA-8q6v-474h-whgg](https://github.com/advisories/GHSA-8q6v-474h-whgg), CC-BY-4.0, modified 2025-08-07
- NVD: [CVE-2025-54885](https://nvd.nist.gov/vuln/detail/CVE-2025-54885), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-54885 · Whole record: https://cve.day/CVE-2025-54885.json · Rebuilt by cve.day 2026-11-25T22:59:02.175Z
