Bug 2501789 - CVE-2026-9537 perl-Mojo-JWT: verification of HMAC signatures with a non-constant-time string comparison [fedora-all]
Summary: CVE-2026-9537 perl-Mojo-JWT: verification of HMAC signatures with a non-const...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Mojo-JWT
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Emmanuel Seyman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["28c23f70-8ceb-40b7-b060-d...
Depends On:
Blocks: CVE-2026-9537
TreeView+ depends on / blocked
 
Reported: 2026-07-17 16:23 UTC by Guilherme de Almeida Suckevicz
Modified: 2026-07-19 06:00 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-07-19 06:00:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2026-07-17 16:23:55 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Emmanuel Seyman 2026-07-19 06:00:43 UTC
perl-Mojo-JWT has released as an update for all Fedora stable branches on 2026-06-07.


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