CVE-2026-24785: Clatter Clatter Has A PSK Validity Vulnerability

HIGH
Advisory Identifier: GHSA-253q-9q78-63x4
CWE-327
Published
Advisory Summary

CVE-2026-24785 is a HIGH clatter has a psk validity vulnerability (CWE-327: Use of a Broken or Risky Cryptographic Algorithm) affecting Clatter libraries in the crates.io ecosystem. The issue involves clatter has a psk validity rule violation issue. Remediation is available by upgrading affected packages to version 2.2.0.

CVE-2026-24785 at a Glance

CVE Identifier CVE-2026-24785
GHSA Identifier GHSA-253q-9q78-63x4
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-327: Use of a Broken or Risky Cryptographic Algorithm
Affected Product Clatter
Package Ecosystem crates.io
Published Date
Last Updated

How to Fix CVE-2026-24785

To remediate this vulnerability, upgrade all affected Clatter dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

clatter fixed: 2.2.0
Upgrade clatter to 2.2.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for clatter

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-24785, inspect your project dependencies for Clatter:

inspect dependencies for clatter

Analyze the terminal output to locate any version of Clatter in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.2.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-327: Use of a Broken or Risky Cryptographic Algorithm, where the product uses a broken or risky cryptographic algorithm or protocol. In Clatter, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact Protocol compliance vulnerability. The library allowed post-quantum handshake patterns that violated the PSK validity rule (Noise Protocol Framework Section 9.3). This could allow PSK-derived keys to be used for encryption without proper randomization by self-chosen ephemeral randomness, weakening security guarantees and potentially allowing catastrophic key reuse. Affected default patterns include `noise_pqkk_psk0`, `noise_pqkn_psk0`, `noise_pqnk_psk0`, `noise_pqnn_psk0`, and some hybrid variants. Users of these patterns may have been using handshakes that do not meet the intended security properties. ### Patches The issue is fully patched and released in Clatter v2.2.0. The fixed version includes runtime checks to detect offending handshake patterns. ### Workarounds Avoid using offending `*_psk0` variants of post-quantum patterns. Review custom handshake patterns carefully. ### Resources * [PSK validity rule](https://noiseprotocol.org/noise.html#validity-rule)

CVE-2026-24785 Affected Clatter Versions

1 component(s)
Fixed Versions:
2.2.0
Product / Package Ecosystem Affected Versions Fixed Version
clatter
crates.io
< 2.2.0
2.2.0

References

Frequently Asked Questions

What is CVE-2026-24785?
CVE-2026-24785 is a security vulnerability in Clatter involving Clatter has a PSK Validity Rule Violation issue under CWE-327: Use of a Broken or Risky Cryptographic Algorithm.
Which Clatter versions are affected?
Affected versions include releases prior to 2.2.0 across affected packages: clatter.
What version fixes CVE-2026-24785?
Upgrading to 2.2.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is clatter affected?
Yes, clatter is affected in releases prior to 2.2.0. Upgrade your dependency to 2.2.0 or later.
What CWE is associated with CVE-2026-24785?
CVE-2026-24785 is classified under CWE-327: Use of a Broken or Risky Cryptographic Algorithm (The product uses a broken or risky cryptographic algorithm or protocol.).
How can I check crates.io dependencies for CVE-2026-24785?
Run the dependency tree command: 'inspect dependencies for clatter'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-253q-9q78-63x4",
  "modified" : "2026-01-28T16:21:03Z",
  "published" : "2026-01-28T16:21:03Z",
  "aliases" : [ "CVE-2026-24785" ],
  "summary" : "Clatter has a PSK Validity Rule Violation issue",
  "details" : "### Impact\n\nProtocol compliance vulnerability. The library allowed post-quantum handshake patterns that violated the PSK validity rule (Noise Protocol Framework Section 9.3). This could allow PSK-derived keys to be used for encryption without proper randomization by self-chosen ephemeral randomness, weakening security guarantees and potentially allowing catastrophic key reuse.\n\nAffected default patterns include `noise_pqkk_psk0`, `noise_pqkn_psk0`, `noise_pqnk_psk0`, `noise_pqnn_psk0`, and some hybrid variants. Users of these patterns may have been using handshakes that do not meet the intended security properties.\n\n### Patches\n\nThe issue is fully patched and released in Clatter v2.2.0. The fixed version includes runtime checks to detect offending handshake patterns.\n\n### Workarounds\n\nAvoid using offending `*_psk0` variants of post-quantum patterns. Review custom handshake patterns carefully.\n\n### Resources\n\n* [PSK validity rule](https://noiseprotocol.org/noise.html#validity-rule)",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "clatter"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.2.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/jmlepisto/clatter/security/advisories/GHSA-253q-9q78-63x4"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-24785"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jmlepisto/clatter/commit/b65ae6e9b8019bed5407771e21f89ddff17c5a71"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jmlepisto/clatter"
  }, {
    "type" : "WEB",
    "url" : "https://noiseprotocol.org/noise.html#validity-rule"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-327" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-01-28T16:21:03Z",
    "nvd_published_at" : "2026-01-28T00:15:50Z"
  }
}