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

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2026-07-17T15:29:58.088Z
- Modified: 2026-10-24T20:10:00.137Z
- Weaknesses: CWE-208
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## 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.

(As written by CVE List.)

## Affected

- Mojo-JWT: before 1.02

## References

- <https://github.com/jberger/Mojo-JWT/commit/b8aefb846613e44b5b12bc170898ffd5b05094a2.patch> (patch)
- <http://www.openwall.com/lists/oss-security/2026/07/17/11>

## Sources

- CVE List: [CVE-2026-9537](https://www.cve.org/CVERecord?id=CVE-2026-9537), CVE Terms of Use, modified 2026-07-20
- NVD: [CVE-2026-9537](https://nvd.nist.gov/vuln/detail/CVE-2026-9537), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-9537 · Whole record: https://cve.day/CVE-2026-9537.json · Rebuilt by cve.day 2026-11-25T22:59:28.491Z
