Read the docs

Timing leak in Crypt::JWT for Perl allows token forgery

Priority LOW 23CWE-208Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Information disclosure
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from CNA. Impact type from CWE-208.

Summary

Crypt::JWT for Perl before 0.037_1 compares HMAC signatures and JWE authentication tags with the eq operator, which is not constant time. The comparison run time depends on how many leading bytes match, which is an observable timing discrepancy (CWE-208). An attacker who can submit many candidate tokens and measure timing precisely may recover the expected signature or tag byte by byte and forge a token that verifies.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Description from the CNA

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.

Why it matters now

EPSS 0.00341 20th percentileScored 2026-11-30
Fix Fixed Crypt-JWT: 0.037_1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—Crypt-JWTbefore 0.037_10.037_1Patch availableCNA
  • Crypt-JWT Vendor— Affected before 0.037_1 Fixed in 0.037_1 Patch available CNA

Remediation

Update Crypt-JWT to version 0.037_1 or later.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

  • Fix · CNA Crypt-JWT Fixed in 0.037_1

Timeline

  1. 2026-11-25 Threatist record created from CVE-2026-8748
  2. 2026-11-27 Alias added: GHSA-rm47-vrp4-5hxf

References

Sources