CVE Catalog

CVE-2026-9537

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.23%

14th percentile - higher than 14% of all known CVEs

Summary

The vulnerability in Mojo::JWT for Perl before version 1.02 is that HMAC signature verification uses a non-constant-time string comparison. The decode() method uses Perl's eq operator, which compares bytes until the first differing one, causing variable response time depending on the number of matching leading bytes.

Risk Assessment

An attacker can leak the expected signature by sending many requests with JWT tokens and measuring response times, enabling signature recovery and token forgery. This could lead to unauthorized access to systems and data.

Recommendation

Immediately update the Mojo::JWT library to version 1.02 or later, which includes a fix that eliminates the timing attack vulnerability.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS