Gửi #913787: embedded-graphics <= 0.8.1 Buffer Overflowthông tin

tiêu đềembedded-graphics <= 0.8.1 Buffer Overflow
Mô tảembedded-graphics before 0.8.2 (to be confirmed) contains an integer overflow vulnerability in ImageRaw::draw_sub_image. The bounds check at src/image/image_raw.rs:227-228 uses wrapping arithmetic in Rust release mode. An attacker can craft a Rectangle with a width value causing (top_left.x as u32 + size.width) to overflow and wrap within bounds, bypassing the bounds check entirely. This leads to denial of service via excessive iteration and potential information disclosure through incorrect pixel data access.
Nguồn⚠️ https://github.com/embedded-graphics/embedded-graphics/issues/821
Người dùng
 Default01 (UID 100307)
Đệ trình03/08/2026 07:43 (cách đây 1 tháng)
Kiểm duyệt12/09/2026 20:18 (1 month later)
Trạng tháiđược chấp nhận
Mục VulDB403175 [embedded-graphics đến 0.8.2 src/image/image_raw.rs ImageRaw::draw_sub_image width tràn bộ đệm]
điểm20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!