CVE-2026-136795: Crypt::JWT versions before 0.037_1 for Perl allow memory exhaustion via unbounded inflation of zip DEF payloads

Published Nov 25, 2026
·
Updated

Crypt::JWT versions before 0.0371 for Perl allow memory exhaustion via unbounded inflation of zip DEF payloads.

When a token header sets "zip" to "DEF", decodejwt inflates the payload with no limit on the output size. A signed token is inflated after its signature verifies. An encrypted token is inflated after decryption, and with RSA-OAEP or ECDH-ES key management anyone who holds the recipient's public key can produce a token that decrypts.

Affected Software

1 affected component
cpan/Crypt::JWT<0.037_1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Crypt-JWT to a version that resolves this vulnerability.

    Fixed in 0.038

Event History

Nov 25, 2026
CVE Published
via MITRE·10:27 PM
Data Sourced
via MITRE·10:27 PM
RemedyDescriptionWeakness
Data Sourced
via OSV·10:27 PM
DescriptionWeakness
Data Sourced
via NVD·11:17 PM
DescriptionWeakness

Frequently Asked Questions

1

Which token types can be exploited without the attacker possessing a signing key or shared encryption secret?

Encrypted tokens using RSA-OAEP or ECDH-ES key management can be produced by anyone who has the recipient's public key. The resulting token can decrypt and reach the unbounded DEF inflation path.

2

Are signed tokens exposed to unauthenticated attackers?

A signed token is inflated only after its signature verifies. An attacker would therefore need to provide a token with a valid signature to reach the vulnerable inflation step.

3

How can an application determine whether it is affected?

Applications are affected if they use Crypt::JWT before version 0.037_1 and call decode_jwt on tokens whose header can specify "zip":"DEF". Review token-processing paths for compressed JWS or JWE inputs, including tokens supplied by external clients or issuers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203