إرسال #913790: 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 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)
ارسال03/08/2026 07:47 AM (1 شهر منذ)
الاعتدال12/09/2026 08:35 PM (1 month later)
الحالةتمت الموافقة
إدخال VulDB403178 [embedded-graphics حتى 0.8.2 على 32-bit src/image/image_raw.rs new/bytes_per_row تلف الذاكرة]
النقاط20

Do you want to use VulDB in your project?

Use the official API to access entries easily!