{"id":"CVE-2025-40925","aliases":["CVE-2025-40925"],"related":[],"kind":"vulnerability","state":"published","title":"Starch versions 0.14 and earlier generate session ids insecurely","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2025-09-20T12:31:34.353Z","modified":"2026-06-17T09:22:18.230Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-338","CWE-340"],"affected":[{"ranges":[{"type":"custom","introduced":"0.01","lastAffected":"0.14","status":"affected"}],"vendor":"BLUEFEET","product":"Starch","package":"Starch","repo":"https://github.com/bluefeet/Starch","source":"cvelist"}],"references":[{"url":"https://github.com/bluefeet/Starch/pull/5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/bluefeet/Starch/commit/5573449e64e0660f7ee209d1eab5881d4ccbee3b.patch","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://metacpan.org/dist/Starch/source/lib/Starch/Manager.pm","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2025-09-22T16:57:53.410Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40925","url":"https://www.cve.org/CVERecord?id=CVE-2025-40925","licence":"CVE Terms of Use","modified":"2025-09-22T17:27:16.336Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40925","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40925","licence":"Public domain","modified":"2026-06-17T09:22:18.230Z"}],"updatedAt":"2026-11-25T22:59:04.898Z","epss":{"score":0.00374,"percentile":0.33456,"date":"2026-12-01T12:00:22.000Z"}}