Security incident · CVE-2025-40923
Plack-Middleware-Session before version 0.35 for Perl generates session ids insecurely.
Published Jul 16, 2025 · catalog updated Nov 4, 2025 · MIYAGAWA Plack::Middleware::Session
Check this week
CVE-2025-40923 is not in CISA KEV. FIRST estimates a 39.00% chance of exploitation in the next 30 days. Check whether you run MIYAGAWA Plack::Middleware::Session.
Gaps on this record
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- Severity
- High7.3
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 39.00%
- Remediation
- Version ranges on file
- Affected products
- vendor MIYAGAWA Plack::Middleware::Session 0.01 <0.35
Plack-Middleware-Session before version 0.35 for Perl generates session ids insecurely. The default session id generator returns a SHA-1 hash seeded with the built-in rand function, the epoch time, and the PID. 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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- vendor MIYAGAWA Plack::Middleware::Session 0.01 <0.350.01 <0.35
How to fix CVE-2025-40923
Recommended remediation
Affected version ranges suggest a fixed boundary. Verify against the vendor advisory for your release.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
CVE-2025-40923 is not in CISA KEV. FIRST estimates a 39.00% chance of exploitation in the next 30 days. Check whether you run MIYAGAWA Plack::Middleware::Session.
Which versions are affected?
Compare what you have installed with MIYAGAWA Plack::Middleware::Session 0.01 <0.35 0.01 <0.35. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS 39.00%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Jul 16, 2025 · EUVD
Detected
Plack-Middleware-Session before version 0.35 for Perl generates session ids insecurely. The default session id generator returns a SHA-1 hash seeded with the built-in rand function, the epoch time, and the PID. 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 u
Nov 4, 2025 · EUVD
Updated
Plack-Middleware-Session before version 0.35 for Perl generates session ids insecurely. The default session id generator returns a SHA-1 hash seeded with the built-in rand function, the epoch time, and the PID. 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 u
Sources
- EUVDVulnerability recordEUVD-2025-21693
Plack-Middleware-Session before version 0.35 for Perl generates session ids insecurely. The default session id generator returns a SHA-1 hash seeded with the built-in rand function, the epoch time, and the PID. The PID will come from a small set of numbers, and the epoch time may
euvd.enisa.europa.eu
References
Freshness
Last verified in this catalog Nov 4, 2025. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.