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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.9
- **CVSS:** 6.9 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; Exploit maturity: Unreported
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.71% (percentile 49, 2026-11-26)
- **CWE:** CWE-331
- **Aliases:** GHSA-8q6v-474h-whgg
- **Published:** 2025-08-06T17:11:42.000Z
- **Modified:** 2026-06-17T09:40:52.010Z

## Who should check

- Projects that depend on npm package thinbus-srp (\< 2.0.1)
- Anyone running simbo1905 thinbus-srp-npm \< 2.0.1

## 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.

## Affected and fixed versions

- npm `thinbus-srp`: affected \< 2.0.1; fixed 2.0.1 (osv)
- simbo1905 thinbus-srp-npm: \< 2.0.1 (cvelist)

## Mitigation

- Upgrade thinbus-srp to 2.0.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-54885. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-54885.md
Affected: thinbus-srp < 2.0.1
Fixed in: 2.0.1

Steps:
1. Search this machine and project for thinbus-srp (npm), simbo1905 thinbus-srp-npm: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-54885 being exploited?

There is no confirmed exploitation: CVE-2025-54885 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.71% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-54885?

Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2025-54885?

thinbus-srp \< 2.0.1.

### Is there a fix for CVE-2025-54885?

Yes. Fixed in 2.0.1. Upgrade thinbus-srp to 2.0.1 or later.

### How do I check if I'm affected by CVE-2025-54885?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-54885>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-8q6v-474h-whgg> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-54885> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-54885>
