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.
References
Configurations
No configuration.
History
20 Jul 2026, 20:16
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.3 |
17 Jul 2026, 18:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
17 Jul 2026, 16:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-07-17 16:17
Updated : 2026-07-20 20:16
NVD link : CVE-2026-9537
Mitre link : CVE-2026-9537
CVE.ORG link : CVE-2026-9537
JSON object : View
Products Affected
No product.
CWE
CWE-208
Observable Timing Discrepancy
