The `soroban-sdk` contains an arithmetic overflow issue in the `Bytes::slice`, `Vec::slice`, and `Prng::gen range` (for `u64`) methods. When compiled with `overflow-checks = false`, these functions can silently wrap on boundary values, leading to incorrect data ranges or unintended random number generation, potentially corrupting contract state. The issue occurs when user-controlled or computed range bounds are passed to these methods. The best practice is to enable `overflow-checks = true` during contract development, which is encouraged by the `stellar contract init` tool. The fix replaces bare arithmetic with `checked add` and `checked sub`, ensuring overflow traps regardless of the `overflow-checks` profile setting.