Crypt::JWT for Perl skips issuer, subject, audience and JWT ID checks
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.024 skips issuer, subject, audience and JWT ID checks when the token lacks the claim or when the option is a plain string. decode_jwt applies these checks only if the claim is present, and it honours a check option only when it is a Regexp or CODE reference, so other values such as verify_aud => 'myapp' are ignored. An application that relies on these checks accepts a validly signed token intended for a different issuer, subject or audience. The weakness is classified as CWE-636.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
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.
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.024 | 0.024 | Patch available | CNA |
- Crypt-JWT Vendor— Affected before 0.024 Fixed in 0.024 Patch available CNA
Remediation
Update Crypt-JWT to version 0.024 or later, which fixes the flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
- Fix · CNA Crypt-JWT Fixed in 0.024
Timeline
- 2026-11-25 Threatist record created from CVE-2018-25445
- 2026-11-27 Alias added: GHSA-rx9r-c8xj-3w7j
References
Sources
- CVE-2018-25445 · CVE Program
- CVE-2018-25445 · NVD
- FIRST EPSS
- GHSA-rx9r-c8xj-3w7j · 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