CVE-2026-8748
Crypt::JWT versions before 0.037_1 for Perl compare HMAC signatures and JWE authentication tags in non-constant time
- Severity
- high CVSS 7.3 (v3.1)
- Weakness
- CWE-208 Observable Timing Discrepancy
- Published
- 25 November 2026 by CPANSec
- First seen on our lists
- 25 November 2026
Crypt::JWT versions before 0.037_1 for Perl compare HMAC signatures and JWE authentication tags in non-constant time.
decode_jwt compares HS256, HS384 and HS512 signatures, and the authentication tag of A128CBC-HS256, A192CBC-HS384 and A256CBC-HS512 encrypted tokens, against the computed value with Perl's eq operator. Its run time depends on the number of matching leading bytes.
An attacker who can submit many candidate tokens and measure the timing precisely enough may recover the expected signature or tag byte by byte and forge a token that verifies.
Our coverage
We have not written about this one. Know why it matters? Send a tip.
On the lists
- [oss-security] Crypt-JWT for Perl (4 CVEs)