PT-2026-20344 · Unknown · Httpsig-Hyper
Divi255
·
Published
2026-02-17
·
Updated
2026-03-03
·
CVE-2026-26275
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
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.
Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Httpsig-Hyper