HMAC Signature Timing Vulnerability in Crypt::JWT by DCIT
CVE-2026-8748
Currently unrated
What is CVE-2026-8748?
The Crypt::JWT library for Perl is susceptible to a timing attack due to the way it compares HMAC signatures and JWE authentication tags. Specifically, prior to version 0.037_1, the decoding function compares these values using Perl's eq operator, which leads to variable run times based on the number of matching leading bytes. This behavior allows an attacker with the ability to submit numerous candidate tokens and measure response times to potentially recover the expected signature or tag byte by byte, effectively allowing them to forge a valid token.
