Security Advisory 2026-0038 (CVE-2026-12893)

SummaryMemory leak and NULL pointer dereference in gst-libav demuxer
Date2026-06-12
Affected VersionsGStreamer gst-libav < 1.28.4
IDsGStreamer-SA-2026-0038
CVE-2026-12893

Details

Memory handling issues in the error code paths of the demuxer element of gst-libav during stream opening. When the demuxer encounters errors while opening a media source, the cleanup path fails to properly free the I/O context, resulting in a memory leak on each failed open attempt. Additionally, the cleanup path dereferences a pointer to the format context structure without verifying it is valid, which can be NULL when the structure allocation fails during the open operation.

Impact

A malicious third party could trigger a crash in the application, resulting in denial of service, when processing corrupted or specially crafted media files that cause the demuxer to fail during opening. Repeated failed open attempts may also lead to resource exhaustion through memory leaks.

Solution

The gst-libav 1.28.4 release addresses the issue. People using older versions of GStreamer should apply the patch and recompile.

References

The GStreamer project

CVE Database Entries

GStreamer 1.28.4 release

Patches