Skip to content
Heist/ feed
Back to feed
High

Clatter has a PSK Validity Rule Violation issue

Type: advisorySources: OSV

Clatter is a no_std compatible, pure Rust implementation of the Noise protocol framework with post-quantum support. Versiosn prior to2.2.0 have a 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. The issue is fully patched and released in Clatter v2.2.0. The fixed version includes runtime checks to detect offending handshake patterns. As a workaround, avoid using offending `*_psk0` variants of post-quantum patterns. Review custom handshake patterns carefully.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-24785
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:29 UTC · Revision 1

Source evidence

Clatter has a PSK Validity Rule Violation issue

core-osv · Original source

Published 27 Jan 2026, 23:38 UTC

Clatter is a no_std compatible, pure Rust implementation of the Noise protocol framework with post-quantum support. Versiosn prior to2.2.0 have a 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. The issue is fully patched and released in Clatter v2.2.0. The fixed version includes runtime checks to detect offending handshake patterns. As a workaround, avoid using offending `*_psk0` variants of post-quantum patterns. Review custom handshake patterns carefully.

osv:CVE-2026-24785
Complete source record
{
  "id": "8e222d7fedf649e1d2b50440b12f17718145cfaea6b92d4f3e94a62e8257ca5d",
  "url": "https://osv.dev/vulnerability/CVE-2026-24785",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Clatter has a PSK Validity Rule Violation issue",
    "summary": "Clatter is a no_std compatible, pure Rust implementation of the Noise protocol framework with post-quantum support. Versiosn prior to2.2.0 have a 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. The issue is fully patched and released in Clatter v2.2.0. The fixed version includes runtime checks to detect offending handshake patterns. As a workaround, avoid using offending `*_psk0` variants of post-quantum patterns. Review custom handshake patterns carefully.",
    "evidence": "osv:CVE-2026-24785",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-24785",
      "aliases": [
        "CVE-2026-24785",
        "GHSA-253q-9q78-63x4"
      ],
      "metrics": [
        {
          "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": [
        {
          "ranges": [
            {
              "repo": "https://github.com/jmlepisto/clatter",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1e991cf72ee1396c66e62746e6d10700aa1a5270"
                },
                {
                  "fixed": "b65ae6e9b8019bed5407771e21f89ddff17c5a71"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:jmlepisto:clatter:*:*:*:*:*:rust:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.2.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "b65ae6e9b8019bed5407771e21f89ddff17c5a71"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "clatter-v2.1.0",
            "clatter-v2.1.0-rc.1",
            "clatter-v2.0.0",
            "clatter-v2.0.0-rc.2",
            "clatter-v1.1.0",
            "clatter-v1.0.0",
            "clatter-v1.0.0-rc.2",
            "clatter-v1.0.0-rc.1",
            "clatter-v0.1.2-alpha",
            "clatter-v0.1.1-alpha"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-24785.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.105463720Z",
      "provider": "osv",
      "references": [
        "https://noiseprotocol.org/noise.html#validity-rule",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24785.json",
        "https://github.com/jmlepisto/clatter/security/advisories/GHSA-253q-9q78-63x4",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-24785",
        "https://github.com/jmlepisto/clatter/commit/b65ae6e9b8019bed5407771e21f89ddff17c5a71"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-327"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24785.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-24785",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504123,
  "published_at": "2026-01-27T23:38:53.409+00:00"
}