CVE-2026-8748
publishedCrypt::JWT versions before 0.037_1 for Perl compare HMAC signatures and JWE authentication tags in non-constant time
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | Crypt-JWT0 to < 0.037_1 · Other versions: unaffected | Affected | Not stated | CPANSec |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Crypt-JWT | 0 to < 0.037_1 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-208 CWE-208 Observable Timing Discrepancy
References
2Provider assertions
1CPANSec · cna
Crypt::JWT versions before 0.037_1 for Perl compare HMAC signatures and JWE authentication tags in non-constant time
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7ac9d012bc3c609d896a7376067b4c6ac6a5c2872b5d1183c035399b6ba42069
- Ingested
- 25 Nov 2026, 22:36:17 UTC
- Source record
- Official CVE record