RUSTSEC-2026-0230

Source
https://rustsec.org/advisories/RUSTSEC-2026-0230
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0230.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2026-0230
Published
2026-08-01T12:00:00Z
Modified
2026-08-02T18:00:03.543191499Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Empty NIP-50 search filters can panic
Details

The NIP-50 event-matching path searched event content with slice::windows(search.len()). An empty search string therefore called slice::windows(0), which always panics instead of returning a match result.

A remote client able to submit filters to an application using this matcher could trigger the panic with an empty NIP-50 search value. This includes clients querying an SDK local relay. Depending on the application's panic configuration and task isolation, the crafted filter could terminate request processing, a runtime worker, or the entire process, causing denial of service. No confidentiality or integrity impact is known.

Empty searches are now handled before the substring search, so the matcher returns a defined result without constructing a zero-sized window or panicking.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / nostr

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.44.7

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "arch": [],
        "functions": [],
        "os": []
    }
}

Database specific

categories
[
    "denial-of-service"
]
cvss
"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
informational
null
source
"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0230.json"