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

[CVE catalog]

Severity
Medium · CVSS 5.9CVSS: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.

DistributionPackageReleaseVersionStatus
Debianlibdancer-perlsid1.3522-2fixed
Debianlibdancer-perlforky1.3522-2fixed
Debianlibdancer-perltrixie1.3521+dfsg-1vulnerable
Debianlibdancer-perlbookworm1.3521+dfsg-1vulnerable
Cpelibdancer-perlNot reportedNot reportedvulnerable
Cpedancer\Not reportedNot reportedunknown
Cpedancer\Not reportedNot reportedunknown

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibdancer-perlsourcesid1.3522-2not yet assignedNot reported[1135322]
Debianlibdancer-perlsourceforky1.3522-2not yet assignedNot reported[1135322]
Debianlibdancer-perlsourcetrixie(unfixed)not yet assignedNot reported[1135322]
Debianlibdancer-perlsourcebookworm(unfixed)not yet assignedNot reported[1135322]

[Debian bug #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 · bookworm

      Affected

      nvd · libdancer-perl · debian · bookworm; nvd · libdancer-perl · debian · 12

    • 1.3521+dfsg-1 · all · bookworm

      Affected

      nvd · libdancer-perl · debian · bookworm; nvd · libdancer-perl · debian · 12

[Debian 13 (Trixie)]

  • [libdancer-perl]Affected
    Details (2)
    • 1.3521+dfsg-1 · all · trixie

      Affected

      nvd · libdancer-perl · debian · 13

    • 1.3521+dfsg-1 · all · trixie

      Affected

      nvd · libdancer-perl · debian · 13

Observed:

References