CVE-2026-9537

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.
Configurations

No configuration.

History

24 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) Las versiones de Mojo::JWT anteriores a la 1.02 para Perl verifican las firmas HMAC con una comparación de cadenas de tiempo no constante. El método decode() compara la firma proporcionada con el HMAC recalculado utilizando el operador eq de Perl, que se detiene en el primer byte diferente, por lo que el tiempo de comparación varía con el número de bytes iniciales coincidentes. Un llamador que decodifica tokens proporcionados por el atacante filtra la firma esperada a través de esta variación de tiempo, la cual puede agregarse a lo largo de muchas solicitudes para recuperar la firma y falsificar un token.

Information

Published : 2026-07-17 16:17

Updated : 2026-10-24 20:10


NVD link : CVE-2026-9537

Mitre link : CVE-2026-9537

CVE.ORG link : CVE-2026-9537


JSON object : View

Products Affected

No product.

CWE
CWE-208

Observable Timing Discrepancy