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

Published Nov 25, 2026
·
Updated

Crypt::JWT versions before 0.0371 for Perl compare HMAC signatures and JWE authentication tags in non-constant time.

decodejwt 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.

Affected Software

1 affected component
cpan/Crypt-JWT<0.037_1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Crypt-JWT to a version that resolves this vulnerability.

    Fixed in 0.038

Event History

Nov 25, 2026
CVE Published
via MITRE·10:26 PM
Data Sourced
via MITRE·10:26 PM
RemedyDescriptionWeakness
Data Sourced
via OSV·10:26 PM
DescriptionWeakness
Data Sourced
via NVD·11:17 PM
DescriptionWeakness

Frequently Asked Questions

1

Which token algorithms are affected?

The issue affects HMAC signature verification for HS256, HS384, and HS512, plus JWE authentication-tag verification for A128CBC-HS256, A192CBC-HS384, and A256CBC-HS512.

2

What capabilities does an attacker need to exploit this?

An attacker must be able to submit many candidate tokens and measure verification timing with enough precision. The timing difference depends on how many leading bytes of the supplied signature or authentication tag match the expected value.

3

What could successful exploitation allow?

An attacker may recover the expected signature or authentication tag one byte at a time and forge a token that passes verification.

4

Which versions should be remediated?

Crypt::JWT versions before 0.037_1 are affected. Upgrade to 0.037_1 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203