REDHAT-BUG-2569424: Medium severity GStreamer gst-plugins-bad vulnerability

Published Nov 10, 2026
·
Updated

GStreamer's gst-plugins-bad mxfdemux element parses MXF 'Index Table Segment' metadata packs in mxfindextablesegmentparse() (gst/mxf/mxftypes.c, local tags 0x3f0c/0x3f0d). The 64-bit IndexStartPosition and IndexDuration values are read directly from the file with GSTREADUINT64BE() and stored, unvalidated, into the signed gint64 fields MXFIndexTableSegment::indexstartposition and indexduration (gst/mxf/mxftypes.h:157-158). No range check rejects values whose top bit is set, so a crafted file can make indexstartposition evaluate as a large negative number. This value is then used, still unvalidated, in gst/mxf/mxfdemux.c findeditentry(): (1) the segment-selection loop (lines 2267-2290) treats indexduration==0 as an 'open-ended' sentinel and matches a segment for any position >= indexstartposition with no upper bound; (2) the backward keyframe search (lines 2298-2312) computes 'candidate - segment->indexstartposition' as a direct array index into segment->indexentries with no bounds check at all; (3) the non-keyframe lookup (lines 2379-2386) is nominally bounded by a gassert (line 2382-2383) but the comparison uses '<=' instead of '<', permitting a one-element overread, and the assert is only present on this one path. findeditentry() is invoked from the ordinary per-essence-element demuxing path (gstmxfdemuxhandlegenericcontaineressenceelement, around mxfdemux.c:2842) as well as from seek/keyframe-search paths (mxfdemux.c:3920, 4038, 4202, 4226), so a crafted index table is reachable simply by demuxing (and more directly by seeking) a malicious MXF file, without requiring any unusual pipeline configuration. The result is an out-of-bounds heap read of MXFIndexEntry records, which can crash the process or, if the overread lands in mapped memory, propagate adjacent heap bytes into indexentry.offset/pts/dts used for subsequent reads. Static review of mxfdemux.c and mxftypes.c did not locate a concrete 64-bit-to-32-bit truncation site for the index/position fields reviewed here (they are consistently gint64/guint64); that part of the advisory's summary could not be corroborated and may describe a different code path bundled into the same fix commit. Fixed upstream in gst-plugins-bad 1.28.4 (merge request !11792; exact commit not available in this sandbox). Reporter attribution: not stated in the public advisory.

Verification: static review of GStreamer 1.28.3 only; no dynamic PoC was run. The separate 64-bit-to-32-bit truncation claim was not corroborated.

Affected Software

1 affected component
GStreamer gst-plugins-bad<1.28.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade gst-plugins-bad to a version that resolves this vulnerability.

    Fixed in 1.28.4

Event History

Nov 10, 2026
Data Sourced
via Red Hat·11:34 AM
DescriptionSeverityAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203