Skip to content
Heist/ feed
Back to feed
Medium

libdancer-perl — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-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 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.

Products
libdancer-perl
Affected versions
1.3140+dfsg-1, 1.3202+dfsg-1, 1.3500+dfsg-1, 1.3513+dfsg-1, 1.3521+dfsg-1, 1.3522-2
Fixed versions
Not specified
CVEs
CVE-2026-5080
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:27 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-5080

core-osv · Original source

Published 30 Apr 2026, 12:16 UTC

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.

osv:UBUNTU-CVE-2026-5080

libdancer-perl

Fixed versions: Not specified

libdancer-perl

Fixed versions: Not specified

libdancer-perl

Fixed versions: Not specified

libdancer-perl

Fixed versions: Not specified

libdancer-perl

Fixed versions: Not specified

libdancer-perl

Fixed versions: Not specified

libdancer-perl

Fixed versions: Not specified

libdancer-perl

Fixed versions: Not specified

Complete source record
{
  "id": "fd4668c16b4ec37c20cc2aa21b152ad4f01b481b5051ab5feadf76cd012cc2ab",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-5080",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-5080",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2026-5080",
    "products": [
      {
        "name": {
          "value": "libdancer-perl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3140+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.3202+dfsg-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libdancer-perl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3202+dfsg-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libdancer-perl",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3500+dfsg-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.3513+dfsg-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libdancer-perl",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3513+dfsg-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libdancer-perl",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3521+dfsg-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libdancer-perl",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3521+dfsg-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libdancer-perl",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3521+dfsg-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1.3522-2",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libdancer-perl",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3521+dfsg-1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-5080",
      "aliases": [
        "UBUNTU-CVE-2026-5080"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libdancer-perl",
            "purl": "pkg:deb/ubuntu/libdancer-perl?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.3140+dfsg-1",
            "1.3202+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5080.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libdancer-perl",
                "binary_version": "1.3202+dfsg-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libdancer-perl",
            "purl": "pkg:deb/ubuntu/libdancer-perl?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.3202+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5080.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libdancer-perl",
                "binary_version": "1.3202+dfsg-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libdancer-perl",
            "purl": "pkg:deb/ubuntu/libdancer-perl?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.3500+dfsg-1",
            "1.3513+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5080.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libdancer-perl",
                "binary_version": "1.3513+dfsg-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libdancer-perl",
            "purl": "pkg:deb/ubuntu/libdancer-perl?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.3513+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5080.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libdancer-perl",
                "binary_version": "1.3513+dfsg-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libdancer-perl",
            "purl": "pkg:deb/ubuntu/libdancer-perl?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.3521+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5080.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libdancer-perl",
                "binary_version": "1.3521+dfsg-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libdancer-perl",
            "purl": "pkg:deb/ubuntu/libdancer-perl?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.3521+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5080.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libdancer-perl",
                "binary_version": "1.3521+dfsg-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libdancer-perl",
            "purl": "pkg:deb/ubuntu/libdancer-perl?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.3521+dfsg-1",
            "1.3522-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5080.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libdancer-perl",
                "binary_version": "1.3522-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libdancer-perl",
            "purl": "pkg:deb/ubuntu/libdancer-perl?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.3521+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5080.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libdancer-perl",
                "binary_version": "1.3521+dfsg-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:58:33.754409058Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-5080"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-5080",
        "https://www.cve.org/CVERecord?id=CVE-2026-5080",
        "https://lists.security.metacpan.org/cve-announce/msg/39488574/"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-5080",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 358775,
  "published_at": "2026-04-30T12:16:00+00:00"
}