CPANSA-Crypt-JWT-2026-136795: Crypt-JWT vulnerability

Publisher giterlizzi Document category csaf_security_advisory
Initial release date 2026-11-25T00:00:00 Engine CSAF Perl Toolkit 0.26
Current release date 2026-11-25T00:00:00 Build Date
Current version 1 Status final
CVSS v3.1 Base Score Severity
Original language Language en
Also referred to

Vulnerability 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.

Vulnerabilities

CVE-2026-136795

Vulnerability 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.

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

Product status

Known affected
Product Score
Crypt-JWT less than 0.037_1
CVSS Version CVSS Vector CVSS Base Score CVSS Base Severity
Fixed

giterlizzi

Namespace: https://github.com/giterlizzi/

gdt@cpan.org

References

Revision history

Version Date of the revision Summary of the revision
1 Wed Nov 25 00:00:00 2026 First release

Sharing rules

TLP:WHITE
For the TLP version see: https://www.first.org/tlp/