Uncaught Exception Affecting nostr package, versions >=0.1.5 <0.44.6


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Uncaught Exception vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-NOSTR-18506906
  • published2 Aug 2026
  • disclosed26 Jul 2026
  • creditUnknown

Introduced: 26 Jul 2026

New CVE NOT AVAILABLE CWE-248  (opens in a new tab)

How to fix?

Upgrade nostr to version 0.44.6 or higher.

Overview

Affected versions of this package are vulnerable to Uncaught Exception in the decrypt and decrypt_to_bytes functions when processing the ?iv= parameter of a NIP-04 encrypted message. An attacker can cause the application to panic and terminate by supplying a malformed initialization vector of incorrect length, resulting in a denial of service.

CVSS Base Scores

version 4.0
version 3.1