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

Published Nov 3, 2026
·
Updated

gst-plugins-bad (GstCodecparsers library) contains a use-of-uninitialized-variable (CWE-457) in gsth265parsevps() in gst-libs/gst/codecparsers/gsth265parser.c. When a VPS NAL unit declares more than one HRD parameter set (vpsnumhrdparameters >= 2), the workaround loop at lines 2152-2165 processes each extra set (i >= 1) into a local GstH265HRDParams hrdparams variable declared at line 2155 that is never zero-initialized before being passed to gsth265parsehrdparameters(). That function sets only three fields to defaults and leaves all other fields as stack garbage, which steers further parsing (including gsth265parsesublayerhrdparameters() at line 439). Bug introduced in upstream GStreamer 1.16.0 (commit 52f2054386). Fix targeted for upstream 1.28.9 (not yet merged as of 2026-10-30; private gstreamer-security MR !132). GStreamer security advisory SA-2026-0094. PSIRT support ticket PSIRTSUPT-29600. Reporter: Sebastian Dröge, Centricular Ltd.

Affected Software

1 affected component
GStreamer gst-plugins-bad>=1.16.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade gst-plugins-bad (GstCodecparsers library) to a version that resolves this vulnerability.

    Fixed in 1.28.9

Event History

Nov 3, 2026
Data Sourced
via Red Hat·04:36 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What input is needed to trigger the vulnerable parsing path?

An attacker-controlled H.265 VPS NAL unit must declare two or more HRD parameter sets, meaning vps_num_hrd_parameters is at least 2. The issue occurs while processing the additional HRD parameter sets after the first one.

2

Which upstream versions may require review?

The bug was introduced upstream in GStreamer 1.16.0. An upstream fix was targeted for 1.28.9 but had not been merged as of 2026-10-30.

3

How can I determine whether my workload is exposed?

Identify whether your deployment uses gst-plugins-bad's GstCodecparsers library to parse H.265 bitstreams. Then determine whether it processes VPS NAL units that declare multiple HRD parameter sets, as that is the affected parser path.

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