CPANSA-Crypt-JWT-2026-136796: Crypt-JWT vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-11-25T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-11-25T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | Severity | ||
| Original language | Language | en | |
| Also referred to | |||
Vulnerability Description
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.
Vulnerabilities
CVE-2026-136796
Vulnerability DescriptionCrypt::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.
| Weakness | CWE-606 : Unchecked Input for Loop Condition |
|---|
Product status
Known affected
| Product | Score | ||||
|---|---|---|---|---|---|
| Crypt-JWT less than 0.037_1 |
|
Fixed
- Crypt-JWT greater than or equal 0.037_1
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-Crypt-JWT-2026-136796 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-crypt-jwt-2026-136796.json - https://github.com/DCIT/perl-Crypt-JWT/commit/13057ef8f51ddde66f1013e4eab2e0664d69d284.patch external
https://github.com/DCIT/perl-Crypt-JWT/commit/13057ef8f51ddde66f1013e4eab2e0664d69d284.patch - https://github.com/DCIT/perl-Crypt-JWT/commit/18b20fed11ae5d72c8ad298fb0d9f023e47ec953.patch external
https://github.com/DCIT/perl-Crypt-JWT/commit/18b20fed11ae5d72c8ad298fb0d9f023e47ec953.patch - https://metacpan.org/release/MIK/Crypt-JWT-0.038/changes external
https://metacpan.org/release/MIK/Crypt-JWT-0.038/changes - CVE-2026-136796 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-136796
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Wed Nov 25 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/