CVE-2026-9537

MEDIUM

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

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 5.3
EPSS 0.0023
EPSS Percentile 13.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-208
Status published
Products (1)
JBERGER/Mojo::JWT < 1.02
Published Jul 17, 2026
Tracked Since Jul 17, 2026