UBUNTU-CVE-2025-40932

Source
https://ubuntu.com/security/CVE-2025-40932
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-40932.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-40932
Upstream
Published
2026-02-27T00:16:00Z
Modified
2026-05-20T16:23:24.649520653Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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

Affected packages

Ubuntu:16.04:LTS
libapache-sessionx-perl

Package

Name
libapache-sessionx-perl
Purl
pkg:deb/ubuntu/libapache-sessionx-perl?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.01-4

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libapache-sessionx-perl",
            "binary_version": "2.01-4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-40932.json"
Ubuntu:18.04:LTS
libapache-sessionx-perl

Package

Name
libapache-sessionx-perl
Purl
pkg:deb/ubuntu/libapache-sessionx-perl?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.01-4

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libapache-sessionx-perl",
            "binary_version": "2.01-4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-40932.json"
Ubuntu:20.04:LTS
libapache-sessionx-perl

Package

Name
libapache-sessionx-perl
Purl
pkg:deb/ubuntu/libapache-sessionx-perl?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.01-5

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libapache-sessionx-perl",
            "binary_version": "2.01-5"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-40932.json"
Ubuntu:22.04:LTS
libapache-sessionx-perl

Package

Name
libapache-sessionx-perl
Purl
pkg:deb/ubuntu/libapache-sessionx-perl?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.01-5

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libapache-sessionx-perl",
            "binary_version": "2.01-5"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-40932.json"
Ubuntu:24.04:LTS
libapache-sessionx-perl

Package

Name
libapache-sessionx-perl
Purl
pkg:deb/ubuntu/libapache-sessionx-perl?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.01-5
2.01-6

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libapache-sessionx-perl",
            "binary_version": "2.01-6"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-40932.json"
Ubuntu:25.10
libapache-sessionx-perl

Package

Name
libapache-sessionx-perl
Purl
pkg:deb/ubuntu/libapache-sessionx-perl?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.01-6

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libapache-sessionx-perl",
            "binary_version": "2.01-6"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-40932.json"
Ubuntu:26.04:LTS
libapache-sessionx-perl

Package

Name
libapache-sessionx-perl
Purl
pkg:deb/ubuntu/libapache-sessionx-perl?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.01-6

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libapache-sessionx-perl",
            "binary_version": "2.01-6"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-40932.json"