CVE-2026-125734: Gst-plugins-bad: gst-plugins-bad: mxfdemux out-of-bounds read via unvalidated signed index-table-segment fields

Published Nov 10, 2026
·
Updated

A flaw was found in GStreamer gst-plugins-bad mxfdemux handling of MXF Index Table Segment data. Crafted index metadata can lead to an out-of-range lookup during a seek and terminate the media process. A Fedora 43 test reproduced an assertion-triggered abort. The upstream advisory also notes possible information disclosure, but an attacker-visible leak has not been demonstrated.

Other sources

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.

— Red Hat

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 to a fixed release 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
Nov 25, 2026
CVE Published
via MITRE·02:20 AM
Data Sourced
via MITRE·02:20 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Does exploitation require authentication or elevated privileges?

No privileges are required (PR:N). Exploitation requires user interaction (UI:R), such as processing attacker-controlled MXF content that reaches the affected demuxer.

2

Is information disclosure confirmed?

No attacker-visible information leak has been demonstrated. The reproduced impact is an assertion-triggered abort that can terminate the media process during a seek.

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