CVE-2026-8748

NameCVE-2026-8748
DescriptionCrypt::JWT versions before 0.037_1 for Perl compare HMAC signatures and JWE authentication tags in non-constant time. decode_jwt compares HS256, HS384 and HS512 signatures, and the authentication tag of A128CBC-HS256, A192CBC-HS384 and A256CBC-HS512 encrypted tokens, against the computed value with Perl's eq operator. Its run time depends on the number of matching leading bytes. An attacker who can submit many candidate tokens and measure the timing precisely enough may recover the expected signature or tag byte by byte and forge a token that verifies.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libcrypt-jwt-perl (PTS)bookworm0.034-1vulnerable
trixie0.037-1vulnerable
forky, sid0.038-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libcrypt-jwt-perlsource(unstable)0.038-1

Notes

https://lists.security.metacpan.org/cve-announce/msg/45442757/
Fixed by: https://github.com/DCIT/perl-Crypt-JWT/commit/0dfc0af5cc1f28b799720fa12a5dcaa3f31fd095 (v0.038)

Search for package or bug name: Reporting problems