
CVE catalog
CVE-2026-5080
Dancer::Session::Abstract versions through 1.3522 for Perl generates session ids insecurely. The session id is generated from summing the character codepoints of the absolute pathname with the proces
- Severity
- Medium · CVSS 5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.36% · Oct 25, 2026
Dancer::Session::Abstract versions through 1.3522 for Perl generates session ids insecurely. The session id is generated from summing the character codepoints of the absolute pathname with the process id, the epoch time and calls to the built-in rand() function to return a number between 0 and 999-billion, and concatenating that result three times. The path name might be known or guessed by an attacker, especially for applications known to be written using Dancer with standard installation locations. The epoch time can be guessed by an attacker, and may be leaked in the HTTP header. The process id comes from a small set of numbers, and workers may have sequential process ids. The built-in rand() function is seeded with 32-bits and is considered unsuitable for security applications. Predictable session ids could allow an attacker to gain access to systems.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libdancer-perl | sid | 1.3522-2 | fixed |
| Debian | libdancer-perl | forky | 1.3522-2 | fixed |
| Debian | libdancer-perl | trixie | 1.3521+dfsg-1 | vulnerable |
| Debian | libdancer-perl | bookworm | 1.3521+dfsg-1 | vulnerable |
| Cpe | libdancer-perl | Not reported | Not reported | vulnerable |
| Cpe | dancer\ | Not reported | Not reported | unknown |
| Cpe | dancer\ | Not reported | Not reported | unknown |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libdancer-perl | source | sid | 1.3522-2 | not yet assigned | Not reported | [1135322] |
| Debian | libdancer-perl | source | forky | 1.3522-2 | not yet assigned | Not reported | [1135322] |
| Debian | libdancer-perl | source | trixie | (unfixed) | not yet assigned | Not reported | [1135322] |
| Debian | libdancer-perl | source | bookworm | (unfixed) | not yet assigned | Not reported | [1135322] |
Notes
[trixie] libdancer-perl: Minor issue [bookworm] libdancer-perl: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libdancer-perl]Affected
Details (2)
1.3521+dfsg-1· all · bookwormAffected
nvd · libdancer-perl · debian · bookworm; nvd · libdancer-perl · debian · 12
1.3521+dfsg-1· all · bookwormAffected
nvd · libdancer-perl · debian · bookworm; nvd · libdancer-perl · debian · 12
[Debian 13 (Trixie)]
- [libdancer-perl]Affected
Details (2)
1.3521+dfsg-1· all · trixieAffected
nvd · libdancer-perl · debian · 13
1.3521+dfsg-1· all · trixieAffected
nvd · libdancer-perl · debian · 13
Observed:
References
- [http://www.openwall.com/lists/oss-security/2026/04/30/19]
- [https://metacpan.org/release/BIGPRESH/Dancer-1.3522/source/lib/Dancer/Session/Abstract.pm#L85-102]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-5080]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-5080]
- [https://security-tracker.debian.org/tracker/CVE-2026-5080]
- [https://security.metacpan.org/patches/D/Dancer/1.3522/CVE-2026-5080-r1.patch]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database]