CVEfocus › CVE database › CVE-2026-125040

CVE-2026-125040Gst-plugins-base: gst-plugins-base: quadratic regex processing in srt/webvtt subtitle…

CVSS 6.5 MediumEPSS 0.5% (higher than 31% of CVEs)Published 2026-11-09Updated 2026-11-24Assigner: redhat

A flaw was found in the SRT and WebVTT subtitle parser in GStreamer's gst-plugins-base. While sanitizing inline subtitle markup, the parser repeatedly searches the remaining text with unanchored regular expressions. A crafted subtitle cue with a long line of unmatched markup-like text can force quadratic CPU use and make a GStreamer-based application unresponsive.

CWE-1333

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
18Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04gst-plugins-base1.0Not affected
vulnerable_code_not_present
Ubuntu 24.04gst-plugins-base1.0Fix pendingUBUNTU-CVE-2026-125040
Ubuntu 22.04gst-plugins-base1.0Fix pendingUBUNTU-CVE-2026-125040
Ubuntu 20.04gst-plugins-base1.0Fix pendingUBUNTU-CVE-2026-125040
Ubuntu 18.04gst-plugins-base1.0Fix pendingUBUNTU-CVE-2026-125040
Debian 14gst-plugins-base1.0Fixed1.28.2-1DEBIAN-CVE-2026-125040
Debian 13gst-plugins-base1.0Fix pendingDEBIAN-CVE-2026-125040
Debian 12gst-plugins-base1.0Fix pendingDEBIAN-CVE-2026-125040
Red Hat Enterprise Linux 10gstreamer1-plugins-baseFix pending
Fix deferred
Red Hat Enterprise Linux 10gstreamer1-plugins-base-develFix pending
Fix deferred
Red Hat Enterprise Linux 10gstreamer1-plugins-base-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 9gstreamer1-plugins-baseFix pending
Fix deferred
Red Hat Enterprise Linux 9gstreamer1-plugins-base-develFix pending
Fix deferred
Red Hat Enterprise Linux 9gstreamer1-plugins-base-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 8gstreamer1-plugins-baseFix pending
Fix deferred
Red Hat Enterprise Linux 8gstreamer1-plugins-base-develFix pending
Fix deferred
Red Hat Enterprise Linux 7gstreamer1-plugins-baseFix pending
Fix deferred
Red Hat Enterprise Linux 7gstreamer1-plugins-base-develFix pending
Fix deferred
Red Hat Enterprise Linux 7gstreamer1-plugins-base-devel-docsFix pending
Fix deferred
Red Hat Enterprise Linux 7gstreamer1-plugins-base-toolsFix pending
Fix deferred

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Update gst-plugins-base to version 1.28.2 or later. Where updating is not yet possible, applications that do not require untrusted SRT/WebVTT subtitles can prevent automatic selection of the subparse element (for example, by setting GST_PLUGIN_FEATURE_RANK=subparse:NONE).

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.