توضیح (فارسی)
VLC media player 3.0.0 قبل از 3.0.22 شامل یک آسیبپذیری out-of-bounds read در تابع DecodePacket() واقع در modules/codec/oggspots.c است که تنها بررسی میکند آفست داده تصویر ۳۲ بیتی در یک بسته OggSpots حداقل ۲۰ باشد و هرگز آن را با packet length مقایسه نمیکند قبل از اینکه آن را از buffer size کم کند و buffer pointer را پیش ببرد. مهاجم میتواند یک فایل Ogg یا stream دستکاریشده حاوی یک بسته OggSpots فراهم کند که offset آن از packet length بیشتر باشد، باعث underflow شدن size میشود به طوری که PNG یا JPEG decoder از heap buffer فراتر میخواند و VLC را crash میکند.
Original description (English)
VLC media player 3.0.0 before 3.0.22 contains an out-of-bounds read vulnerability in DecodePacket() in modules/codec/oggspots.c that only checks that the 32-bit image data offset in an OggSpots packet is at least 20 and never compares it with the packet length before subtracting it from the buffer size and advancing the buffer pointer. Attackers can supply a crafted Ogg file or stream containing an OggSpots packet whose offset exceeds the packet length, underflowing the size so that the PNG or JPEG decoder reads beyond the heap buffer and crashes VLC.