| 标题 | embedded-graphics <= 0.8.1 Buffer Overflow |
|---|
| 描述 | embedded-graphics before 0.8.2 (to be confirmed) contains an integer overflow in the bytes_per_row function on 32-bit platforms. When width and bits_per_pixel values produce a product of exactly 2^32, the multiplication wraps to zero, causing the ImageRaw::new validation to accept empty data slices. This results in incorrect (blank) rendering on 32-bit ARM embedded systems, which are the primary deployment target for this library.
|
|---|
| 来源 | ⚠️ https://github.com/embedded-graphics/embedded-graphics/issues/820 |
|---|
| 用户 | Default01 (UID 100307) |
|---|
| 提交 | 2026-08-03 07時47分 (1 月前) |
|---|
| 管理 | 2026-09-12 20時35分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 403178 [embedded-graphics 直到 0.8.2 于 32-bit src/image/image_raw.rs new/bytes_per_row 内存损坏] |
|---|
| 积分 | 20 |
|---|