Description
This issue was previously reported privately and is now being disclosed following coordination with maintainers.
ArrayData::slice() computes offset + length without overflow checking.
When the sum wraps, the bounds check may pass, leading to an inconsistent internal state.
This can result in a potential out-of-bounds read via safe Rust APIs.
Fix
See PR #9813
Reported by Sungjin Kim (@ksj1230)
Description
This issue was previously reported privately and is now being disclosed following coordination with maintainers.
ArrayData::slice()computesoffset + lengthwithout overflow checking.When the sum wraps, the bounds check may pass, leading to an inconsistent internal state.
This can result in a potential out-of-bounds read via safe Rust APIs.
Fix
See PR #9813
Reported by Sungjin Kim (@ksj1230)