Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2025-40931 Details

Description

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-338Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)CPANSec
CWE-340Generation of Predictable Numbers or IdentifiersCPANSec

Affected Products

ProductVersions
chorny apache::session::generate::md5
<= 1.94

CPE

  • cpe:2.3:a:chorny:apache::session::generate::md5:*:*:*:*:*:perl:*:*

Remediation

  • No remediation found in references.

Change History

8 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2025-40931
NVD Published Date:
Mar 5, 2026
NVD Last Modified:
Jun 17, 2026
Source:
CPANSec
CVE-2025-40931 Details - Not Deferred