Skip to main content
CVE-2025-40925VulnerabilityPublished Updated

CVE-2025-40925: BLUEFEET Starch · Generation of Predictable Numbers or Identifiers

Affects BLUEFEET StarchSource CVE Database V5

0

Not known to be exploited · CVSS 9.1 Critical.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 29% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Sep 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
BLUEFEET StarchAffected
  • =0.01
Fixed in–

AI-suggested

1. Immediate mitigation involves disabling or replacing the default session ID generator in Starch with a cryptographically secure random number generator (CSPRNG) that uses strong entropy sources, such as /dev/urandom or platform-specific secure RNG APIs. 2. If possible, upgrade to a patched version of Starch once released by BLUEFEET that addresses this vulnerability. 3. Implement additional session management controls such as session expiration, IP address binding, and multi-factor authentication to reduce the impact of session hijacking. 4. Monitor logs and network traffic for anomalous session activity indicative of session prediction or hijacking attempts. 5. Review HTTP headers to ensure sensitive timing information (e.g., Date header) is not unnecessarily exposed, reducing entropy leakage. 6. Conduct code audits and penetration testing focused on session management to identify and remediate similar weaknesses. 7. Educate developers and system administrators about secure session ID generation best practices and the risks of predictable identifiers. 8. Employ Web Application Firewalls (WAFs) with rules to detect and block suspicious session ID usage patterns.

Description

Starch versions 0.14 and earlier generate session ids insecurely. The default session id generator returns a SHA-1 hash seeded with a counter, the epoch time, the built-in rand function, the PID, and internal Perl reference addresses. The PID will come from a small set of numbers, and the epoch time may be guessed, if it is not leaked from the HTTP Date header. The built-in rand function is unsuitable for cryptographic usage. Predicable session ids could allow an attacker to gain access to systems.

References

Community reviews

Loading reviews…