Skip to content

CVE-2026-8748 Crypt::JWT versions before 0.037_1 for Perl compare HMAC signatures and JWE authentication tags in non-constant time

Unknown EPSS 0.34%
Published
Updated
Exploit status
No public exploit known
Technology
Debian

Description

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.

Upgrade path

4 packages: 2 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
debian/libcrypt-jwt-perl(Debian 12) = 0.034-1; = 0.035-1; = 0.036-1; = 0.037-1 +2 more No fix listed No fix yet
debian/libcrypt-jwt-perl(Debian 13) = 0.037-1; = 0.038-1; All versions No fix listed No fix yet
cpan Crypt-JWT < 0.037_1 0.037_1 Fixed
debian/libcrypt-jwt-perl(Debian 14) < 0.038-1; = 0.037-1 0.038-1 Fixed

Affected products

ProductAffected versionsFixed in
cpan Crypt-JWT < 0.037_1 0.037_1
debian/libcrypt-jwt-perl(Debian:12) All versions No fix listed
debian/libcrypt-jwt-perl(Debian:14) < 0.038-1 0.038-1
debian/libcrypt-jwt-perl(Debian:13) All versions No fix listed
debian/libcrypt-jwt-perl(Debian:12) = 0.034-1 No fix listed
debian/libcrypt-jwt-perl(Debian:12) = 0.035-1 No fix listed
debian/libcrypt-jwt-perl(Debian:12) = 0.036-1 No fix listed
debian/libcrypt-jwt-perl(Debian:12) = 0.037-1 No fix listed
debian/libcrypt-jwt-perl(Debian:12) = 0.038-1 No fix listed
debian/libcrypt-jwt-perl(Debian:13) = 0.037-1 No fix listed
debian/libcrypt-jwt-perl(Debian:13) = 0.038-1 No fix listed
debian/libcrypt-jwt-perl(Debian:14) = 0.037-1 No fix listed

References