Skip to main content
VulnerabilityPublished Updated

CVE-2025-40932: Libapache sessionx perl · Apache::SessionX versions through 2.01 for Perl create insecure session id

Affects libapache-sessionx-perlSource GCVE Database

0
Compare
Authoritative record:CVE-2025-40932· High 8.2

Not known to be exploited · CVSS 8.2 High.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
8.2High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 14% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10libapache-sessionx-perlpkg:deb/ubuntu/libapache-sessionx-perl?arch=source&distro=stonkingOther threatsAffected
  • =2.01-6
  • =2.01-7
  • =2.01-8
Fixed in–
Ubuntu 26.04 LTSlibapache-sessionx-perlpkg:deb/ubuntu/libapache-sessionx-perl?arch=source&distro=resoluteOther threatsAffected
  • =2.01-6
Fixed in–
Ubuntu 25.10libapache-sessionx-perlpkg:deb/ubuntu/libapache-sessionx-perl?arch=source&distro=questingOther threatsAffected
  • =2.01-6
Fixed in–
Ubuntu 24.04 LTSlibapache-sessionx-perlpkg:deb/ubuntu/libapache-sessionx-perl?arch=source&distro=nobleOther threatsAffected
  • =2.01-5
  • =2.01-6
Fixed in–
Ubuntu 22.04 LTSlibapache-sessionx-perlpkg:deb/ubuntu/libapache-sessionx-perl?arch=source&distro=jammyOther threatsAffected
  • =2.01-5
Fixed in–
Ubuntu 20.04 LTSlibapache-sessionx-perlpkg:deb/ubuntu/libapache-sessionx-perl?arch=source&distro=focalOther threatsAffected
  • =2.01-5
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…