CVE-2026-9537
published medium CVSS 3.1 · 5.3Mojo::JWT versions before 1.02 for Perl verify HMAC signatures with a non-constant-time string comparison
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| JBERGER | — | Mojo-JWTMojo::JWT · 0 to < 1.02 · Other versions: unaffected | Affected | Not stated | CPANSec |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Mojo-JWTaarch64 | Advisory build | 1.20.0-2.1 | OPENSUSE-SU-2026:11450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Mojo-JWTppc64le | Advisory build | 1.20.0-2.1 | OPENSUSE-SU-2026:11450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Mojo-JWTs390x | Advisory build | 1.20.0-2.1 | OPENSUSE-SU-2026:11450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Mojo-JWTx86_64 | Advisory build | 1.20.0-2.1 | OPENSUSE-SU-2026:11450-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| JBERGER | Mojo::JWT | 0 to < 1.02 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-208 CWE-208 Observable Timing Discrepancy
References
2Provider assertions
3CPANSec · cna
Mojo::JWT versions before 1.02 for Perl verify HMAC signatures with a non-constant-time string comparison
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6e4556f912cedc236362dc045f47ca37f59f88d5efb3cdbc0322388267b7007d
- Ingested
- 23 Sep 2026, 09:41:39 UTC
- Source record
- Official CVE record