CVE-2026-8748

critical

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.

References

https://metacpan.org/release/MIK/Crypt-JWT-0.038/changes

https://github.com/DCIT/perl-Crypt-JWT/commit/0dfc0af5cc1f28b799720fa12a5dcaa3f31fd095.patch

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-135885

Details

Source: Mitre, NVD

Published: 2026-11-25

Updated: 2026-11-25

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical

EPSS

EPSS: 0.00341