stabby is vulnerable to Out-of-Bounds Read
59
CVE Score
Medium
Out-of-Bounds Read
The try_drain method on stabby's ABI-stable Vec validates the requested range with a reversed comparison. Valid ranges are rejected, while a reversed range whose bounds both exceed the vector length passes the check and reaches the unsafe path. The method then calls set_len past the initialized region and returns a Drain that iterates over uninitialized memory, causing undefined behavior and possible exposure of uninitialized heap contents. The fix reverses the comparison so out-of-range and negative-size ranges return without touching memory.
Upgrade the stabby and/or the stabby-abi library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application calls try_drain with untrusted range bounds.
2.0.0 - 72.1.8
Fixed in 72.1.16stabby is vulnerable to Out-of-Bounds Read in versions 2.0.0 - 72.1.8.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.