CVE-2026-9537 Mojo::JWT versions before 1.02 for Perl verify HMAC signatures with a non-constant-time string comparison
MediumCVSS 5.3
EPSS 0.32%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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
| Product | Affected versions | Fixed in |
|---|---|---|
| JBERGER Mojo::JWT | < 1.02 | 1.02 |
| ubuntu/libmojo-jwt-perl(Ubuntu:22.04) | All versions | No fix listed |
| debian/libmojo-jwt-perl(Debian:12) | All versions | No fix listed |
| debian/libmojo-jwt-perl(Debian:12) | = 0.09-1 | No fix listed |
| debian/libmojo-jwt-perl(Debian:12) | = 1.01-1 | No fix listed |
| debian/libmojo-jwt-perl(Debian:12) | = 1.02-1 | No fix listed |
| debian/libmojo-jwt-perl(Debian:13) | All versions | No fix listed |
| debian/libmojo-jwt-perl(Debian:13) | = 1.01-1 | No fix listed |
| debian/libmojo-jwt-perl(Debian:13) | = 1.02-1 | No fix listed |
| debian/libmojo-jwt-perl(Debian:14) | < 1.02-1 | 1.02-1 |
| debian/libmojo-jwt-perl(Debian:14) | = 1.01-1 | No fix listed |
| ubuntu/libmojo-jwt-perl(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libmojo-jwt-perl(Ubuntu:26.04) | All versions | No fix listed |
References
- github.com patch
- www.openwall.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- Debian Security Tracker CVE-2026-9537 vendor-advisory