Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-40931

published critical CVSS 3.1 · 9.1

Apache::Session::Generate::MD5 versions through 1.94 for Perl create insecure session id

Published
05 Mar 2026, 01:41:09 UTC
Updated
21 Apr 2026, 02:42:43 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
CHORNY — Apache-SessionApache::Session::Generate::MD5 · 0 through 1.94 · Other versions: unaffected Affected Not stated CPANSec

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.

en · CPANSec · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.1 / 10
Severity
critical
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
CHORNY Apache::Session::Generate::MD5 0 through 1.94 (affected · custom)Default: unaffected CPANSec · cna

Weaknesses

2
  • CWE-340 CWE-340 Generation of Predictable Numbers or Identifiers (CPANSec · cna)
  • CWE-338 CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (CPANSec · cna)

References

10

Provider assertions

3

CPANSec · cna

Apache::Session::Generate::MD5 versions through 1.94 for Perl create insecure session id

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
43dfa581b371ff83e5a6801def2074c2bd08bc251cafcf0abd605c6dc17d3b78
Ingested
23 Sep 2026, 08:48:23 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected