Skip to content
OpenAdvisories
Unscored CVE-2026-136796 EUVD-2026-135884

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

Published Nov 25, 2026 · Assigned by CPANSec

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.

Affected products

VendorProductAffectedFixed
— Crypt-JWT < 0.037_1 0.037_1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libcrypt-jwt-perl 0.038-1 —
Debian 13 libcrypt-jwt-perl No fix yet —
Debian 12 libcrypt-jwt-perl No fix yet —

References