CVE-2026-9537CWE-208

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

Medium · published July 17, 2026

CVSS v3.1
5.3
EPSS
0%
Percentile
24.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00322 · 24.0th percentile
Weakness
CWE-208 · Observable Timing Discrepancy
Published
2026-07-17T15:29Z
EPSS history
Timeline
  • 17 JUL 15:29Z
    Mojo::JWT versions before 1.02 for Perl verify HMAC signatures with a non-constant-time string comparison
    cvelistv5