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
Configurations
No configuration.
History
02 Dec 2026, 18:19
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.3 |
25 Nov 2026, 23:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-11-25 23:17
Updated : 2026-12-02 18:19
NVD link : CVE-2026-8748
Mitre link : CVE-2026-8748
CVE.ORG link : CVE-2026-8748
JSON object : View
Products Affected
No product.
CWE
CWE-208
Observable Timing Discrepancy
