Description
Crypt::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.
Published: 2026-11-25
Score: 7.3 High
EPSS: < 1% Very Low
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

Vendor Solution

Upgrade to Crypt-JWT 0.038 or later.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 02 Dec 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 02 Dec 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'}


Fri, 27 Nov 2026 22:00:00 +0000

Type Values Removed Values Added
First Time appeared Perl
Perl crypt::jwt
Vendors & Products Perl
Perl crypt::jwt

Wed, 25 Nov 2026 22:30:00 +0000

Type Values Removed Values Added
Description Crypt::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.
Title Crypt::JWT versions before 0.037_1 for Perl compare HMAC signatures and JWE authentication tags in non-constant time
Weaknesses CWE-208
References

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-12-02T17:31:18.989Z

Reserved: 2026-05-16T13:48:15.542Z

Link: CVE-2026-8748

cve-icon Vulnrichment

Updated: 2026-12-02T17:30:04.001Z

cve-icon NVD

Status : Deferred

Published: 2026-11-25T23:17:26.517

Modified: 2026-12-02T18:19:06.577

Link: CVE-2026-8748

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-12-04T23:00:14Z

Weaknesses