CVE-2026-8748

Source
https://cve.org/CVERecord?id=CVE-2026-8748
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-8748.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-8748
Published
2026-11-25T22:26:18Z
Modified
2026-11-26T00:00:15Z
Summary
Crypt::JWT versions before 0.037_1 for Perl compare HMAC signatures and JWE authentication tags in non-constant time
Details

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.

Database specific
{
    "cna_assigner":  "CPANSec",
    "cwe_ids":  [
        "CWE-208"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8748.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "0.037_1"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StandardRange"
                }
            ]
        },
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "0.037_1"
                        }
                    ],
                    "source":  "DESCRIPTION"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/dcit/perl-crypt-jwt

Affected ranges

Type
GIT
Repo
https://github.com/dcit/perl-crypt-jwt
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "fixed":  "0dfc0af5cc1f28b799720fa12a5dcaa3f31fd095"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v0.*
v0.012
v0.013
v0.014
v0.015
v0.016
v0.017
v0.018
v0.019
v0.020
v0.021
v0.022
v0.023
v0.024
v0.025
v0.026
v0.027
v0.028
v0.029
v0.030
v0.031
v0.032
v0.033
v0.034
v0.035
v0.036
v0.037

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-8748.json"