CVE-2025-40932 Apache::SessionX versions through 2.01 for Perl create insecure session id
Insecure session ID generation in Apache::SessionX allows attackers to predict IDs and hijack user sessions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-40932?
CVE-2025-40932 is a high-severity vulnerability in GRICHTER Apache::SessionX, published on 26 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Apache::SessionX versions through 2.01 for Perl create insecure session id.
Apache::SessionX generates session ids insecurely. The default session id generator in Apache::SessionX::Generate::MD5 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.
Which versions are affected by CVE-2025-40932?
It affects 1 product.
Products include Grichter Apache\.
How do I fix CVE-2025-40932?
No fix has been published for CVE-2025-40932 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-40932 being exploited?
There is no known exploitation of CVE-2025-40932 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2025-40932, GHSA-prr9-fcgf-vpxx, UBUNTU-CVE-2025-40932.