Skip to content
OpenAdvisories
Unscored CVE-2026-136795 EUVD-2026-135878

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

Published Nov 25, 2026 · Assigned by CPANSec

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.

Affected products

VendorProductAffectedFixed
— Crypt-JWT < 0.037_1 0.037_1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libcrypt-jwt-perl 0.038-1 —
Debian 13 libcrypt-jwt-perl No fix yet —
Debian 12 libcrypt-jwt-perl No fix yet —

References