CPU exhaustion in Crypt::JWT for Perl via PBES2 iteration count
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
Crypt::JWT for Perl before 0.037_1 allows CPU exhaustion through an unbounded PBES2 iteration count. The decode_jwt function passes the p2c header parameter to PBKDF2 as the iteration count without a range check, and derives the key before any integrity check. A token can select PBES2 whenever decode_jwt is given a symmetric key, unless accepted_alg rules it out, so an attacker who can supply a token can force excessive computation (CWE-606).
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 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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Crypt-JWT | before 0.037_1 | 0.037_1 | Patch available | CNA |
- Crypt-JWT Vendor— Affected before 0.037_1 Fixed in 0.037_1 Patch available CNA
Remediation
Upgrade 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
- 2026-11-25 Threatist record created from CVE-2026-136796
- 2026-11-27 Alias added: GHSA-wj7g-m2wh-r3cc
References
Sources
- CVE-2026-136796 · CVE Program
- CVE-2026-136796 · NVD
- FIRST EPSS
- GHSA-wj7g-m2wh-r3cc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences