KVStoreInterpreter::verify_signature_legacy answers true for every token and every key
Severity and exploitation
KEV coverage does not rule out exploitation.
Assessment vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NSeverity
high7.5CVSS measures technical severity, not the likelihood of an attack.
Known exploitation
KEV status unavailable or stale
Absence from CISA KEV does not rule out attacks.
Public exploit
Not established by this record
Missing evidence does not mean no public exploit exists.
Remediation
Package fixes recorded
Fix versions are recorded for 1 of 1 mapped packages. Check each release branch and any separate product guidance.
What this means
KVStoreInterpreter::verify_signature_legacy(&PushDrop, &PublicKey), public and deprecated since 0.2.0 (the crate's first release), read neither argument and answered true. A KVStore token signed by nobody, a signed token checked against a key other than its controller's, and a PushDrop with no fields each passed. Its documentation said it delegated to the KVStoreFields-based verifier; it did not.
Source excerpt · OSVAttack conditions
No attack-condition excerpt has been identified here. Review the full source description and references for authentication, network access, and configuration requirements.
Review supporting sources →Affected versions
Check the exact model, release, and any platform requirements against your installation.
Packages
Compare each installed version with the publisher’s affected ranges. Where a fix is recorded, choose the appropriate release branch and test compatibility before upgrading.
| Affected range | Recorded fix |
|---|---|
| From 0.0.0-0 before 0.8.9Semantic versions | 0.8.9 |
| From 0.9.0-beta.1 before 0.9.0-beta.7.0Semantic versions | 0.9.0-beta.7.0 |
Version evidence: OSV · RUSTSEC-2026-0529
View original version evidence (0 explicit versions)
What to do
Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.
Use the recorded fix for your release branch. Review the publisher’s instructions and test compatibility before upgrading.
cve.new guidance unless attributed to a publisher. This page does not inspect your installation.
Public exploit evidence
No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.
Original source description
Read the full publisher description
KVStoreInterpreter::verify_signature_legacy(&PushDrop, &PublicKey), public
and deprecated since 0.2.0 (the crate's first release), read neither argument
and answered true. A KVStore token signed by nobody, a signed token checked
against a key other than its controller's, and a PushDrop with no fields each
passed. Its documentation said it delegated to the KVStoreFields-based
verifier; it did not.
An application that checks, with this function, a KVStore token it did not
write (an overlay lookup's answer, or a transaction output a peer hands it) and
acts on true accepts a value no controller signed, attributed to whatever
controller the token names. No caller in the crate itself uses the function.
This was run on 0.2.0, 0.5.0, 0.8.0, 0.8.7, 0.8.8, 0.9.0-beta.1 and
0.9.0-beta.7 as crates.io serves them, and the source of all 63 published
versions carries the same constant body (the yanked 0.3.21 included).
0.8.9 answers true only for a token whose controller field is the
given key and whose last field is that key's signature over the others (the
0.9 line's next prerelease carries the same fix). There is no workaround:
upgrade to 0.8.9, or, on the 0.9 line, to its next prerelease.
References
3 sourcesInside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
No official CVE record has been imported. Use the source links below for the original advisory.
cve.new JSON →Timeline
All times UTCAdvisory published
Publication date supplied by the source.
Source updated
Latest modification date supplied by the source.
Last imported by cve.new
Latest catalog import, not the date we first saw this advisory.
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.
Related advisories
Recent advisories affecting the same package or the same recorded vendor and product. These are separate vulnerabilities, not additional evidence for this advisory.
Shamir backup recovery accepts a share at x = 0, so a supplied share can substitute the recovered private key
KeyShares::from_backup_format (the Shamir backup share reader, public since 0.2.0, the crate's first release) accepted a share whose x coordinate is 0, and KeyShares::recover_private_key interpolates the shares at x = 0 to recover the key. At an x of 0 the interpolation answers that share's y value alone, so an attacker who supplies one share in that form — with the share's integrity tag ground to match the honest set's — chooses the recovered key outright. The non-canonical zero x = p works the same way, and a repeated x past the threshold window also passed.
Recorded fixes — bsv-rs: 0.8.7 or 0.9.0-beta.7.0. Check your release branch.
Exploitation not established
Signature::from_der reads a signature with bytes after it, a wrong sequence length or an unneeded zero as the signature
Signature::from_der read a DER-encoded ECDSA signature leniently. It read as the signature: the signature followed by other bytes; a sequence length shorter than its contents, or longer with bytes after them (a length byte with its high bit set among them); and an R or S preceded by a zero byte it did not need. It read a lone-zero R or S as zero.
Recorded fixes — bsv-rs: 0.8.6 or 0.9.0-beta.7.0. Check your release branch.
Exploitation not established
Transaction::from_json holds an input txid that is not 64 hex digits and writes the input as spending the zero txid
Transaction::from_json, for a document with no hex member, held each input's txid member as given. An input txid that is not 64 hex digits ("zz", "", 63 or 65 digits, characters that are not hex digits) answered Ok: source_txid and to_json gave the text back, while to_binary wrote the input as spending the txid of 32 zero bytes and id() hashed those bytes. Documents naming different texts were one transaction, spending an outpoint none of them named.
Recorded fixes — bsv-rs: 0.8.6 or 0.9.0-beta.7.0. Check your release branch.
Exploitation not established
Transaction readers accept trailing bytes, so a parsed transaction can carry another transaction id
Transaction::from_binary and Transaction::from_hex read one transaction from the front of their input, did not check that the input ended there, and kept the whole input as the transaction's cached serialization: to_binary, to_hex and id() then answered for bytes that are not the transaction's. Transaction::from_json, given a hex field, reads it through from_hex and answers the same. from_ef, from_hex_ef and parse_script_offsets also read a prefix.
Recorded fixes — bsv-rs: 0.8.5 or 0.9.0-beta.7.0. Check your release branch.
Exploitation not established