Crypt::JWT versions before 0.024 for Perl skip issuer, subject, audience and JWT ID checks when the claim is absent or the option is a plain string.

decode_jwt runs the verify_iss, verify_sub, verify_aud and verify_jti checks only when the token carries the claim, and honours an option only as a Regexp or CODE reference. Any other value, such as verify_aud => 'myapp', is ignored.

An application that relies on these checks accepts a validly signed token meant for a different issuer, subject or audience.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

Upgrade to Crypt-JWT 0.024 or later.


Workaround

No workaround given by the vendor.

History

Wed, 25 Nov 2026 22:30:00 +0000

Type Values Removed Values Added
Description Crypt::JWT versions before 0.024 for Perl skip issuer, subject, audience and JWT ID checks when the claim is absent or the option is a plain string. decode_jwt runs the verify_iss, verify_sub, verify_aud and verify_jti checks only when the token carries the claim, and honours an option only as a Regexp or CODE reference. Any other value, such as verify_aud => 'myapp', is ignored. An application that relies on these checks accepts a validly signed token meant for a different issuer, subject or audience.
Title Crypt::JWT versions before 0.024 for Perl skip issuer, subject, audience and JWT ID checks when the claim is absent or the option is a plain string
Weaknesses CWE-636
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-11-25T22:27:55.113Z

Reserved: 2026-11-25T11:40:50.478Z

Link: CVE-2018-25445

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses