CVE-2024-58134: Libmojolicious perl · Mojolicious versions from 0.999922 for Perl uses a hard coded string, or the
Affects libmojolicious-perlSource GCVE Database
Not known to be exploited · CVSS 8.1 High.
Data as of 17 Nov 2026, 07:04 UTC
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 3 May 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 16 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10libmojolicious-perlpkg:deb/ubuntu/libmojolicious-perl?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlibmojolicious-perlpkg:deb/ubuntu/libmojolicious-perl?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10libmojolicious-perlpkg:deb/ubuntu/libmojolicious-perl?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlibmojolicious-perlpkg:deb/ubuntu/libmojolicious-perl?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlibmojolicious-perlpkg:deb/ubuntu/libmojolicious-perl?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSlibmojolicious-perlpkg:deb/ubuntu/libmojolicious-perl?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, users should avoid using vulnerable versions or override the default session secret with a strong, unpredictable value to mitigate the risk of session cookie forgery.
Description
Mojolicious versions from 0.999922 for Perl use a hard-coded string or the application's class name as the HMAC session cookie secret by default. This predictable secret allows attackers who know or guess it to forge valid HMAC signatures for session cookies, enabling session tampering or hijacking. The vulnerability affects multiple specific versions of libmojolicious-perl and has a high severity rating with a CVSS score of 8.1.
References
- ubuntu.com/security/CVE-2024-58134 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-58134 (opens in a new tab)
- lists.security.metacpan.org/cve-announce/msg/29247502/ (opens in a new tab)
- github.com/mojolicious/mojo/pull/1791 (opens in a new tab)
- github.com/mojolicious/mojo/pull/2200 (opens in a new tab)
- github.com/hashcat/hashcat/pull/4090 (opens in a new tab)
- medium.com/securing/baking-mojolicious-cookies-revisited-a-case-study-of-solving-security-problems-through-security-by-13da7c225802 (opens in a new tab)
- metacpan.org/release/SRI/Mojolicious-9.39/source/lib/Mojolicious.pm (opens in a new tab)
- synacktiv.com/publications/baking-mojolicious-cookies (opens in a new tab)