Unknown · Httpsig-Hyper · CVE-2026-26275
**Name of the Vulnerable Software and Affected Versions**
httpsig-hyper versions prior to 0.0.23
**Description**
The `httpsig-hyper` library contains an issue where Digest header verification could incorrectly succeed due to an incorrect use of Rust’s `matches!` macro. The comparison `if matches!(digest, expected digest)` treated ` expected digest` as a pattern binding instead of a value comparison, leading to a false positive in digest verification. This could allow applications to fail to detect modifications to message bodies when relying on Digest verification as part of HTTP message signature validation. The severity of this issue depends on how the library is integrated and whether additional signature validation layers are enforced. The fix replaces the incorrect `matches!` usage with a proper value comparison and introduces constant-time comparison for digest verification.
**Recommendations**
Upgrade to httpsig-hyper version 0.0.23 or later.
If an immediate upgrade is not possible, avoid relying solely on Digest verification for message integrity and ensure that full HTTP message signature verification is enforced at the application layer.