Bug 2491322 (CVE-2026-12893) - CVE-2026-12893 gstreamer1-libav: gstreamer1-libav: NULL pointer dereference in gstavdemux.c error handler
Summary: CVE-2026-12893 gstreamer1-libav: gstreamer1-libav: NULL pointer dereference i...
Keywords:
Status: NEW
Alias: CVE-2026-12893
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-22 11:33 UTC by OSIDB Bzimport
Modified: 2026-08-03 12:33 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-22 11:33:53 UTC
NULL pointer dereference in gst-libav plugin's gst_ffmpegdemux_open() error handler (gstavdemux.c:1392-1397). When demux initialization fails via gst_ffmpegdata_open/gst_ffmpeg_pipe_open (line 1244-1245) or avformat_open_input (line 1271-1278), the beach: error handler dereferences demux->context->pb without NULL-checking demux->context first. In failure scenario 1, context is never allocated; in scenario 2, avformat_open_input() frees context on error. The crash occurs at offset 0x20 (pb field offset in AVFormatContext). Affects all gst-libav versions. Fixed in GStreamer 1.28.4 via security MR 78 (GST-SA-2026-0038). Upstream confirmed by Sebastian Dröge. Reported by Dr. Faruk Kazi, Ramesh Adhikari, Sukrut Chougule, and Tarun Uikey (CoE-CNDS Lab, VJTI, Mumbai, India). PSIRT Ticket: PSIRTSUPT-17582.


Note You need to log in before you can comment on or make changes to this bug.