Email me

Rust advisories / nostr-relay-pool

Vulnerability HighRUSTSEC-2026-0231 · nostr-relay-pool

RUSTSEC-2026-0231: Relay authentication challenges can exhaust memory

Short answerA security vulnerability in the nostr-relay-pool crate: Relay authentication challenges can exhaust memory. High severity (CVSS 7.5). Fixed in 0.44.3: update to a fixed version.

Cratenostr-relay-pool
TypeVulnerability (denial-of-service)
Affected versionsBefore 0.44.3.
Fixed in0.44.3
SeverityHigh, CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published2026-08-01
Last changed2026-08-02
Also known asnone

What to do

  1. See which version you have: cargo tree -i nostr-relay-pool (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p nostr-relay-pool. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example nostr-relay-pool = "0.44.3") or update the dependency that pulls it in.
  3. Check again with cargo audit, or paste your Cargo.lock into our Cargo.toml checker.

Details from the advisory

The SDK forwarded every NIP-42 AUTH challenge received from a relay through an unbounded command queue. Challenge handling can wait for an asynchronous signer or user interaction, so receiving challenges was substantially faster than completing the corresponding authentication work.

A malicious relay could continuously send new challenges without authenticating or delivering valid events. Every value remained queued, causing memory use and pending signer operations to grow without a fixed limit until the client became unavailable. The issue does not allow the relay to forge a signature or learn the client's private key.

The SDK now coalesces pending challenges through a latest-value channel. NIP-42 makes an earlier challenge invalid when the relay sends a new one, so replacing pending work preserves the only challenge that can still be answered while keeping memory use bounded.

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Other advisories for nostr-relay-pool

Full security history of nostr-relay-pool

Up next

Same cratenostr-relay-pool: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ