Crypt::JWT versions before 0.037_1 for Perl allow CPU exhaustion via an unbounded PBES2 iteration count
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CPANCrypt-JWT |
< 0.037_1→ 0.037_1 |
0.037_1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-136796 libcrypt-jwt-perl Fix available
- Ubuntu UBUNTU-CVE-2026-136796 libcrypt-jwt-perl No fixed version in this record
Original description The description as published by the source.
Crypt::JWT versions before 0.037_1 for Perl allow CPU exhaustion via an unbounded PBES2 iteration count.
For a token using a PBES2 key management algorithm, decode_jwt passes the p2c header parameter to PBKDF2 as the iteration count without a range check, and derives the key before any integrity check. Unless accepted_alg rules it out, a token can select PBES2 whenever decode_jwt is given a symmetric key.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory metacpan.org
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- web github.com
- web cpan.org