CVE-2026-9537: Mojo::JWT versions before 1.02 for Perl verify HMAC signatures with a non-constant-time string comparison

Published Jul 17, 2026
·
Updated

Mojo::JWT versions before 1.02 for Perl verify HMAC signatures with a non-constant-time string comparison.

The decode() method compares the supplied signature to the recomputed HMAC with Perl's eq operator, which stops at the first differing byte, so the comparison time varies with the number of matching leading bytes.

A caller that decodes attacker supplied tokens leaks the expected signature through this timing variation, which can be aggregated over many requests to recover the signature and forge a token.

Affected Software

1 affected component
Mojolicious Mojo::JWT<1.02

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Mojo::JWT (Perl) to a version that resolves this vulnerability.

    Fixed in 1.02Patch CVE-2026-9537

Event History

Jul 17, 2026
CVE Published
via MITRE·03:29 PM
Data Sourced
via MITRE·03:29 PM
RemedyDescriptionWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness
Jan 23, 58523
Event
via FIRST·03:43 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-9537?

The severity of CVE-2026-9537 is assessed at a risk level of 30.

2

How do I fix CVE-2026-9537?

To fix CVE-2026-9537, upgrade to Mojo::JWT version 1.02 or later.

3

What does CVE-2026-9537 affect?

CVE-2026-9537 affects the Mojo::JWT library in Mojolicious versions prior to 1.02.

4

What is the nature of the vulnerability in CVE-2026-9537?

CVE-2026-9537 involves a non-constant-time string comparison when verifying HMAC signatures.

5

What are the consequences of exploiting CVE-2026-9537?

Exploiting CVE-2026-9537 could lead to timing attacks that may allow attackers to guess HMAC signatures.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203