{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-40925","id":"CVE-2025-40925","title":"Starch versions 0.14 and earlier generate session ids insecurely","description":"Starch versions 0.14 and earlier generate session ids insecurely.\n\nThe 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 unsui","descriptionLong":"Starch versions 0.14 and earlier generate session ids insecurely.\n\nThe 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.\n\nPredicable session ids could allow an attacker to gain access to systems.","published":"2025-09-20T12:31:34.353Z","updated":"2026-10-28T02:30:44.091409806Z","reserved":"2025-04-16T09:05:34.362Z","status":"Deferred","rejected":false,"assigner":"CPANSec","metric":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"OSV"}],"rating":"critical","products":["BLUEFEET Starch"],"affectedProducts":[{"vendor":"BLUEFEET","product":"Starch","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"0.14","status":"affected","version":"0.01","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-340","CWE-338"],"aliases":[],"references":[{"url":"https://github.com/bluefeet/Starch/pull/5","tags":["fix"]},{"url":"https://github.com/bluefeet/Starch/commit/5573449e64e0660f7ee209d1eab5881d4ccbee3b.patch","tags":["patch","fix"]},{"url":"https://metacpan.org/dist/Starch/source/lib/Starch/Manager.pm","tags":["web"]},{"url":"https://cpan.org/modules","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40925.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40925","tags":["advisory"]},{"url":"https://github.com/bluefeet/Starch","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.0036,"epssPercentile":0.30396,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-40925","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40925","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-40925","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-40925","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}