A flaw was found in GStreamer's gst-plugins-bad MPEG Program Stream demuxer and resindvd DVD-playback plugin. The PES header parsers do not adequately check remaining data before reading timestamps and optional header fields. Opening a specially crafted MPEG Program Stream file can cause an out-of-bounds read and potentially crash the application, resulting in a denial of service.
For applications that automatically select GStreamer plugins, set GST_PLUGIN_FEATURE_RANK=mpegpsdemux:NONE in the affected process to prevent automatic selection of the MPEG Program Stream demuxer. Applications that explicitly instantiate mpegpsdemux or rsndvdbin must avoid processing untrusted MPEG Program Stream or DVD input until a fixed package is available. These measures disable affected playback paths and are not a complete fix.