CVE-2025-40931: Apache::Session::Generate::MD5 versions through 1.94 for Perl create insecure session id
CHORNY · Apache::Session::Generate::MD5
Vendor fix available · Affected: CHORNY Apache::Session::Generate::MD5 · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Percentile not published
DescriptionCVE.org
Apache::Session::Generate::MD5 versions through 1.94 for Perl create insecure session id. Apache::Session::Generate::MD5 generates session ids insecurely. The default session id generator returns a MD5 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. Note that the libapache-session-perl package in some Debian-based Linux distributions may be patched to use Crypt::URandom.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- CHORNY · Apache::Session::Generate::MD5up to and including 1.94
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Published
- March 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2025-40931 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-340cwe.mitre.org
- Patchsalsa.debian.org
- metacpan.org/dist/Apache-Session/source/lib/Apache/Session/Genermetacpan.org
- Technical descriptionsecurity.metacpan.org
- Issue trackergithub.com
- Issue trackerrt.cpan.org
- Issue trackerbugs.debian.org
- Issue trackergitlab.ow2.org
- metacpan.org/pod/Apache::Session::Generate::Randommetacpan.org
- openwall.com/lists/oss-security/2026/03/05/3openwall.com
- Mailing listopenwall.com