Loading...
Skip to main content

CVE-2026-26275 — Improper Digest Verification in httpsig-hyper —...

HIGH

Improper Digest Verification in httpsig-hyper May Allow Message Integrity Bypass

Published February 17, 2026Updated February 20, 2026Source: osv

Summary

### Impact An issue was discovered in `httpsig-hyper` where Digest header verification could incorrectly succeed due to misuse of Rust's `matches!` macro. Specifically, the comparison: ```rust if matches!(digest, _expected_digest) ``` treated `_expected_digest` as a pattern binding rather than a value comparison, resulting in unconditional success of the match expression. As a consequence, digest verification could incorrectly return success even when the computed digest did not match the expected value. Applications relying on Digest verification as part of HTTP message signature validation may therefore fail to detect message body modification. The severity depends on how the library is integrated and whether additional signature validation layers are enforced. --- ### Patches This issue has been fixed in: - `httpsig-hyper` >= 0.0.23 The fix replaces the incorrect `matches!` usage with proper value comparison and additionally introduces constant-time comparison for digest verification as defense-in-depth. Regression tests have also been added to prevent reintroduction of this issue. Users are strongly advised to upgrade to the patched version. --- ### Workarounds There is no reliable workaround without upgrading. Users who cannot immediately upgrade should avoid relying solely on Digest verification for message integrity and ensure that full HTTP message signature verification is enforced at the application layer. --- ### References - PR: https://github.com/junkurihara/httpsig-rs/pull/14 - Follow-up hardening and test additions: https://github.com/junkurihara/httpsig-rs/pull/15

Advisory Timeline

  • First published February 17, 2026 (237 days ago).
  • Last revised February 20, 2026 — 3 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Cargo
Update httpsig-hyper to 0.0.23 or later
cargo update -p httpsig-hyper --precise 0.0.23

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: crates.io (1).

PackageEcosystemAffectedFixed In
httpsig-hyper
crates.io
All versions0.0.23

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Frequently Asked Questions

What is CVE-2026-26275?
Improper Digest Verification in httpsig-hyper May Allow Message Integrity Bypass This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2026-26275?
CVE-2026-26275 affects httpsig-hyper. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-26275 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-7v42-g35v-xrch

Related CVEs

  • CVE-2026-93657
    HIGH

    hickory-resolver: Resolver::lookup() and Resolver::lookup_ip() APIs obscure DNSSEC validation failures

  • CVE-2026-18140
    HIGH

    aws-smithy-json: Uncontrolled recursion in the aws-smithy-json unknown-key skip path allows unauthenticated remote denial of service in smithy-rs generated servers

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies