CVE-2026-136796: Crypt::JWT versions before 0.037_1 for Perl allow CPU exhaustion via an unbounded PBES2 iteration count

Published Nov 25, 2026
·
Updated

Crypt::JWT versions before 0.0371 for Perl allow CPU exhaustion via an unbounded PBES2 iteration count.

For a token using a PBES2 key management algorithm, decodejwt passes the p2c header parameter to PBKDF2 as the iteration count without a range check, and derives the key before any integrity check. Unless acceptedalg rules it out, a token can select PBES2 whenever decodejwt is given a symmetric key.

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:27 PM
Data Sourced
via MITRE·10:27 PM
RemedyDescriptionWeakness
Data Sourced
via OSV·10:27 PM
DescriptionWeakness
Data Sourced
via NVD·11:17 PM
DescriptionWeakness

Frequently Asked Questions

1

Who is exposed to this denial-of-service condition?

Applications using affected Crypt::JWT versions that call decode_jwt with a symmetric key are exposed if their accepted_alg policy permits PBES2 key-management algorithms. An attacker can submit a token that selects PBES2 unless that algorithm family is explicitly ruled out.

2

What must an attacker provide to trigger excessive CPU use?

The attacker needs to supply a token using a PBES2 key-management algorithm with a very large p2c header value. The library passes p2c directly to PBKDF2 as its iteration count and performs key derivation before verifying token integrity.

3

What can be done before upgrading?

Configure accepted_alg to reject PBES2 key-management algorithms where they are not required. This prevents attacker-controlled tokens from selecting PBES2 when decode_jwt is used with a symmetric key.

4

How can I determine whether my deployment is affected?

Check whether Crypt::JWT is older than 0.037_1 and whether application decode_jwt calls use a symmetric key. Also review accepted_alg settings to determine whether PBES2 is permitted.

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