| Title | embedded-graphics <= 0.8.1 Buffer Overflow |
|---|
| Description | 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.
|
|---|
| Source | ⚠️ https://github.com/embedded-graphics/embedded-graphics/issues/820 |
|---|
| User | Default01 (UID 100307) |
|---|
| Submission | 08/03/2026 07:47 (1 month ago) |
|---|
| Moderation | 09/12/2026 20:35 (1 month later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 403178 [embedded-graphics up to 0.8.2 on 32-bit src/image/image_raw.rs new/bytes_per_row integer overflow] |
|---|
| Points | 20 |
|---|