Truncated public_values causes panic in SP1Prover::verify
A malformed proof can carry a public_values buffer shorter than the expected number of elements. Because the Borrow implementation slices the backing array without a length check before the shard verifier validates the length, verification panics instead of returning an error, allowing a remote denial of service.
Succinct
Medium