Crypt::JWT for Perl fixes four CVEs, including claim-check bypass and timing leak
Crypt::JWT versions before 0.024 and 0.037_1 are affected by four vulnerabilities, with fixes in 0.024 and 0.038.
Reported by oss-security
First reported Summary updated
- Public PoC
- Not known
- Exploited
- Not known
- Severity
- Not rated
What happened
Crypt::JWT before 0.024 skips issuer, subject, audience and JWT ID checks when the claim is absent or the option is a plain string.1
Crypt::JWT before 0.037_1 compares HMAC signatures and JWE authentication tags in non-constant time.1
Crypt::JWT before 0.037_1 allows memory exhaustion via unbounded inflation of zip DEF payloads.1
Crypt::JWT before 0.037_1 allows CPU exhaustion via an unbounded PBES2 iteration count.1
Who is affected
- Crypt::JWT, before 0.037_11
Is there a public exploit?
Not known None of the sources mentions public exploit code yet.
Exploited in the wild?
Not known None of the sources reports attacks using it so far.
What to do
- Upgrade to Crypt-JWT 0.024 or later for CVE-2018-25445.1
- Upgrade to Crypt-JWT 0.038 or later for CVE-2026-8748, CVE-2026-136795 and CVE-2026-136796.1
For bug hunters
The bugs here are a claim-validation bypass, a timing side channel in signature comparison, and two resource-exhaustion issues. In JWT-heavy programs, look for token libraries that only enforce issuer, audience or subject checks when the claim is present, or that accept plain-string options instead of regex or code references. Also test whether signature or tag comparisons are constant-time, and whether compressed or PBES2-protected tokens can drive unbounded memory or CPU use.
What to test
- Submit a token without an iss, aud or sub claim and see if the application still accepts it.
- Pass a plain-string verify_aud or verify_iss option and check whether the check is enforced.
- Send tokens with a zip DEF header and a highly compressed payload to test for memory exhaustion.
- Send a PBES2 token with a very large p2c value and measure CPU time and response.
Written by bugbounty.wiki with AI from its source. Every statement above comes with a quote we checked against the source it cites (the numbers link to it); anything we could not check was left out. It can still be wrong, so read the coverage before relying on a detail.
Coverage
The article this story is based on. Each headline opens the outlet's own article.
-
1
oss-security
Crypt-JWT for Perl (4 CVEs)“CVE-2026-8748 Crypt::JWT versions before 0.0371 for Perl compare HMAC signatures and JWE authentication tags in non-constant time”