提交 #913787: embedded-graphics <= 0.8.1 Buffer Overflow信息

标题embedded-graphics <= 0.8.1 Buffer Overflow
描述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.
来源⚠️ https://github.com/embedded-graphics/embedded-graphics/issues/821
用户
 Default01 (UID 100307)
提交2026-08-03 07時43分 (1 月前)
管理2026-09-12 20時18分 (1 month later)
状态已接受
VulDB条目403175 [embedded-graphics 直到 0.8.2 src/image/image_raw.rs ImageRaw::draw_sub_image width 内存损坏]
积分20

Do you want to use VulDB in your project?

Use the official API to access entries easily!