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

State
Published
Severity
Not Scored
Published
Nov 25, 2026
Updated
Nov 25, 2026
Reserved
Nov 25, 2026

Read the record on cve.org

Description

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

When a token header sets "zip" to "DEF", decode_jwt 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.

ProductVersions
Crypt-JWTbefore 0.037_1 Affected

Weaknesses

  • CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.