Bug 2501781 (CVE-2026-9537) - CVE-2026-9537 perl-Mojo-JWT: verification of HMAC signatures with a non-constant-time string comparison
Summary: CVE-2026-9537 perl-Mojo-JWT: verification of HMAC signatures with a non-const...
Keywords:
Status: NEW
Alias: CVE-2026-9537
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2501789
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-17 16:01 UTC by OSIDB Bzimport
Modified: 2026-07-17 16:23 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-17 16:01:41 UTC
Mojo::JWT versions before 1.02 for Perl verify HMAC signatures with a non-constant-time string comparison.

The decode() method compares the supplied signature to the recomputed HMAC with Perl's eq operator, which stops at the first differing byte, so the comparison time varies with the number of matching leading bytes.

A caller that decodes attacker supplied tokens leaks the expected signature through this timing variation, which can be aggregated over many requests to recover the signature and forge a token.


Note You need to log in before you can comment on or make changes to this bug.