# CVE-2025-59058: httpsig-rs's HMAC verification is vulnerable to timing attack

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2025-09-12T13:10:11.349Z
- Modified: 2026-06-17T09:45:31.167Z
- Also known as: GHSA-q7pg-9pr4-mrp2
- Weaknesses: CWE-208
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- junkurihara httpsig-rs: < 0.0.19
- httpsig (crates.io): before 0.0.19

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/junkurihara/httpsig-rs/security/advisories/GHSA-q7pg-9pr4-mrp2> (web)
- <https://github.com/junkurihara/httpsig-rs/commit/fc095b6ce6043bb808f5d9c4379cf697899cb458> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-59058> (advisory)
- <https://github.com/junkurihara/httpsig-rs> (package)

## Sources

- CVE List: [CVE-2025-59058](https://www.cve.org/CVERecord?id=CVE-2025-59058), CVE Terms of Use, modified 2025-09-12
- GitHub Advisory Database: [GHSA-q7pg-9pr4-mrp2](https://github.com/advisories/GHSA-q7pg-9pr4-mrp2), CC-BY-4.0, modified 2025-09-12
- NVD: [CVE-2025-59058](https://nvd.nist.gov/vuln/detail/CVE-2025-59058), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-59058 · Whole record: https://cve.day/CVE-2025-59058.json · Rebuilt by cve.day 2026-11-25T22:59:04.599Z
