CVE-2026-9537: Jberger Mojo::jwt

Medium severity, CVSS 5.3. EPSS: 0.3% chance of exploitation in the next 30 days.

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 products

  • Jberger Mojo::jwt: before 1.02 (fixed in 1.02)

Published 2026-07-17. Last modified 2026-07-20.