{"id":"CVE-2025-40925","aliases":["EUVD-2025-30364","GHSA-q46q-p96m-rvh8"],"status":"published","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 unsuitable for cryptographic usage.\n\nPredicable session ids could allow an attacker to gain access to systems.","severity":{"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","level":"critical","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-09","score":0.0036,"percentile":0.29991,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-338","CWE-340"],"published":"2025-09-20T12:31:34Z","modified":"2026-10-28T02:30:44Z","products":[{"vendor":"bluefeet","product":"starch"}],"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://nvd.nist.gov/vuln/detail/CVE-2025-40925","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-q46q-p96m-rvh8"},{"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://github.com/bluefeet/Starch","tags":["package"]}],"sources":{"cve":[{"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 unsuitable for cryptographic usage.\n\nPredicable session ids could allow an attacker to gain access to systems.","status":"published","published":"2025-09-20T12:31:34.353Z","modified":"2025-09-22T17:27:16.336Z","cvss":[{"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","level":"critical","assessor":"adp"}],"cwes":["CWE-340","CWE-338"],"updated_at":"2026-11-02T14:32:34.773122Z"}],"euvd":[{"id":"EUVD-2025-30364","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 unsuitable for cryptographic usage.\n\nPredicable session ids could allow an attacker to gain access to systems.","status":"published","published":"2025-09-20T12:31:34Z","modified":"2025-09-22T17:27:16Z","cvss":[{"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","level":"critical"}],"updated_at":"2026-11-02T20:31:40.869423Z"}],"ghsa":[{"id":"GHSA-q46q-p96m-rvh8","title":"Starch versions 0.14 and earlier generate session ids insecurely.\n\nThe default session id...","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 unsuitable for cryptographic usage.\n\nPredicable session ids could allow an attacker to gain access to systems.","status":"published","published":"2025-09-22T18:30:34Z","modified":"2025-09-22T18:30:35Z","cvss":[{"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","level":"critical"}],"cwes":["CWE-338"],"updated_at":"2026-11-02T15:03:40.93695Z"}],"nvd":[{"id":"CVE-2025-40925","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 unsuitable for cryptographic usage.\n\nPredicable session ids could allow an attacker to gain access to systems.","status":"published","published":"2025-09-20T13:15:34.92Z","modified":"2026-06-17T09:22:18.23Z","cvss":[{"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","level":"critical","assessor":"secondary"}],"cwes":["CWE-338","CWE-340"],"updated_at":"2026-11-02T14:11:30.865098Z"}],"osv":[{"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 unsuitable for cryptographic usage.\n\nPredicable session ids could allow an attacker to gain access to systems.","status":"published","published":"2025-09-20T12:31:34.353Z","modified":"2026-10-28T02:30:44.091409806Z","cvss":[{"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","level":"critical"}],"cwes":["CWE-338","CWE-340"],"updated_at":"2026-11-02T15:44:49.394967Z"}]}}
