CVE-2025-59058

httpsig-rs's HMAC verification is vulnerable to timing attack

State
Published
Severity
5.9 Medium
Published
Sep 12, 2025
Updated
Sep 12, 2025
Reserved
Sep 8, 2025

Read the record on cve.org

Description

httpsig-rs is a Rust implementation of IETF RFC 9421 http message signatures. Prior to version 0.0.19, the HMAC signature comparison is not timing-safe. This makes anyone who uses HS256 signature verification vulnerable to a timing attack that allows the attacker to forge a signature. Version 0.0.19 fixes the issue.

Scores

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NGitHub_M

Weaknesses

  • CWE-208 Observable Timing Discrepancy

Affected Products

ProductVersions
httpsig-rsjunkurihara
  • < 0.0.19Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.