CVE-2026-125040 — Red Hat Enterprise Linux 10
One of 14 Red Hat Enterprise Linux 10 vulnerabilities published together by NVD.
LinuxOperating systemsVulnerabilitiesResearch article
GStreamer gst-plugins-base SRT and WebVTT subtitle parser: quadratic regex work enables CPU-exhaustion denial of service (CVE-2026-125040)
| CVE | CVE-2026-125040 |
|---|---|
| Vendor and product | Red Hat Enterprise Linux 10; Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 8 |
| Published | November 12, 2026 07:20 UTC |
| Research cut-off | November 12, 2026 07:12 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-10); CISA KEV catalog; FIRST EPSS (2026-11-10) |
Executive summary
CVE-2026-125040 describes a resource-exhaustion weakness in the SRT and WebVTT subtitle handling of GStreamer's gst-plugins-base module, where inline markup sanitization uses unanchored regular expressions that rescan remaining text [1]. The NVD record carries a CVSS 3.1 base score of 6.5 (MEDIUM) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H, scored by Red Hat as a secondary scorer, and maps the issue to CWE-1333 [1]. The impact is limited to availability as scored: a crafted subtitle cue can drive CPU use up sharply and make a GStreamer-based application unresponsive, while the vector indicates no confidentiality or integrity effect [1]. The record is still in Awaiting Analysis, and the reviewed sources give no affected version range and no fixed version, so the vulnerable population cannot yet be defined from primary evidence [1]. The CVE is not listed in the CISA KEV catalog as of 2026-11-12, which does not show that it has or has not been exploited [2]. The FIRST EPSS estimate is 0.0038 (0.38%) with percentile 0.3224, a statistical likelihood figure rather than evidence of exploitation [3]. The most important immediate action for defenders is to inventory GStreamer-based applications and gst-plugins-base packages that parse external subtitle files, and to track the GStreamer security advisory and the Red Hat tracker for the fixed build before deciding on a permanent update [1].
Key points
- CVE-2026-125040 is a denial-of-service weakness (CWE-1333) in SRT and WebVTT subtitle parsing in gst-plugins-base, with unanchored regex work that scales quadratically [1].
- NVD lists CVSS 3.1 6.5 MEDIUM, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H, from a secondary scorer; the record is Awaiting Analysis [1].
- Impact as scored is availability only; no confidentiality or integrity effect is described [1].
- The affected version range and fixed version are not established by the reviewed sources [1].
- Not listed in CISA KEV as of 2026-11-12; EPSS is 0.0038 (0.38%); neither shows exploitation status [2, 3].
Vulnerability identification
| Field | Value | Source |
|---|---|---|
| CVE ID | CVE-2026-125040 | [1] |
| Vendor / project | GStreamer project (identified through the GStreamer security advisory reference and the Red Hat references) | [1] |
| Product / component | gst-plugins-base, SRT and WebVTT subtitle parsing code | [1] |
| Affected platform | Not established by the reviewed sources | [1] |
| Published | 2026-11-09T19:16:48 | [1] |
| Last modified | 2026-11-10T23:17:20 | [1] |
| Record status | Awaiting Analysis | [1] |
| CWE classification | CWE-1333 (Inefficient Regular Expression Complexity) | [1] |
| CVSS 3.1 base score | 6.5 MEDIUM | [1] |
| CVSS 3.1 vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | [1] |
| Scoring version and scorer | CVSS 3.1, scored by secalert@redhat.com, typed as Secondary | [1] |
| Other CVSS versions | None listed in the reviewed record | [1] |
| Related identifiers | Red Hat CVE page, Red Hat Bugzilla ID 2569124, GStreamer security advisory sa-2026-0023 | [1] |
| CISA KEV status | Not listed as of 2026-11-12 | [2] |
| EPSS | 0.0038 (0.38%), percentile 0.3224, dated 2026-11-10 | [3] |
The record lists CVSS only from a secondary scorer, and no primary NVD analysis appears in the reviewed record, so the score should be treated as provisional [1]. CWE-1333 describes weaknesses where a regular expression can take disproportionately long to evaluate on crafted input, which is the category of problem this record describes [1]. No conflicting scores or classifications appear in the reviewed sources.
Technical background
GStreamer is a multimedia framework that builds processing pipelines from plugins, and gst-plugins-base is one of its core plugin collections [1]. Subtitle support in that collection includes parsers for SubRip (SRT) and WebVTT text-based subtitle formats [1]. An application or pipeline reads a subtitle stream, splits it into cues, and passes the cue text on for rendering; some of that text may contain inline markup, which the parser must sanitize before use [1].
A regular expression is a pattern-matching expression used to search or validate text. An unanchored pattern is not required to match at the start of the input, so a search engine may attempt a match at every position in the remaining text [1]. When the work repeats over a growing remainder of the text, total cost can grow roughly with the square of the input length, which is what the record describes as quadratic CPU use [1].
Trust boundary: subtitle files and streams are external data. In a typical media application they can originate from local files, network sources or user-selected content, so the parser sits at a boundary between untrusted input and the application's processing threads [1]. The reviewed sources do not describe the specific delivery paths that reach this parser in shipped applications.
Vulnerability description
The security property affected is availability. The record says the parser performs repeated searches with unanchored patterns during sanitization of inline subtitle markup, and that a crafted cue containing a long run of text resembling unmatched markup can make CPU consumption grow quadratically [1]. The effect on the consuming application is that it can become unresponsive [1].
What an attacker can cause: a denial of service in the process that parses the subtitle, scored as high availability impact [1]. What the record does not claim: it does not describe code execution, memory corruption, information disclosure or integrity changes, and the vector sets confidentiality and integrity impact to none [1]. The conditions that matter are: the vulnerable gst-plugins-base code must be present and reached, the application must parse the crafted subtitle content, and the vector indicates that a user interaction is required [1]. The record does not say which interaction is needed, for example opening a file or selecting a stream, so that is not established by the reviewed sources.
Root cause analysis
Confirmed: the record attributes the issue to unanchored regular expressions applied repeatedly to the remaining text during inline markup sanitization in the SRT and WebVTT parsing code [1]. The record maps the weakness to CWE-1333 [1].
Analyst assessment: a search that is not anchored and is re-run over a shrinking or repeatedly re-scanned remainder can require work proportional to the square of the input in the worst case. That pattern would produce the quadratic growth described. The exact expression, the loop structure and the code commit that changed it are not disclosed in the reviewed sources, so the specific implementation error is not established.
Why existing controls may fail: input length limits, cue size limits or per-cue time budgets are not described in the reviewed sources, so whether such controls exist in the affected code is not established.
Technical mechanics
- The application opens a subtitle source and the SRT or WebVTT parser reads cue text in sequence [1].
- For each cue, the parser sanitizes inline markup by searching the remaining text for markup-like sequences using unanchored patterns [1].
- If the cue contains a long line of text that partially resembles markup but never completes, each search attempt can scan much of the remaining text before failing [1].
- Because the searches repeat over the remainder, total work grows with the square of the line length, which the record describes as quadratic CPU use [1].
- The thread that runs the parser consumes CPU for the duration, and the application can become unresponsive [1].
Illustrative control that should prevent this: anchored patterns or single-pass tokenization, bounded input per cue, and an upper bound on work per cue. The reviewed sources do not state which of these the fixed code uses.
Attack surface and exploitation prerequisites
| Prerequisite | Assessment | Source |
|---|---|---|
| Network access | Network (AV:N) per vector; the network path that delivers subtitle content is not established | [1] |
| Adjacent network, local or physical | Not indicated by the vector | [1] |
| Authentication | None required (PR:N) per vector | [1] |
| Privilege level | None required (PR:N); the privilege context of the consuming application is not established | [1] |
| User interaction | Required (UI:R) per vector; the specific action is not established | [1] |
| Required configuration | The record does not state a non-default configuration or feature | [1] |
| Attacker position and reachable interface | Not established by the reviewed sources | [1] |
| Dependencies and limitations | Affects applications that use the vulnerable SRT or WebVTT parsing code; the record does not list those applications | [1] |
The prerequisites in the table come from the CVSS vector and are not confirmed by an exploitation test or a vendor analysis in the reviewed sources. A vector value is not proof that a given deployment is reachable.
Exploitation scenarios and attack lifecycle
Illustrative scenario: a user opens a media file or stream in a GStreamer-based desktop or server application that loads a subtitle track. The track contains a crafted cue. The parser's sanitization stage consumes CPU for an extended period, and the application stops responding. The defensive opportunities are process watchdogs, resource limits on media-processing services, input size checks at the ingestion layer and monitoring of CPU use per process.
The reviewed sources do not document any real-world attack chain, threat actor, or post-exploitation activity. Lateral movement, credential access and data theft are not supported by the record, which scores confidentiality and integrity impact as none [1]. Any broader chain would be speculative and is not established.
Impact analysis
| Area | Technically demonstrated by sources | Plausible downstream consequence (analyst assessment) | Source |
|---|---|---|---|
| Confidentiality | None per vector | None established | [1] |
| Integrity | None per vector | None established | [1] |
| Availability | High per vector; the record describes application unresponsiveness | Interruption of media playback or processing services that depend on the affected application | [1] |
| Authentication and authorization | No effect described | None established | [1] |
| Privilege boundaries | No effect described; scope is unchanged (S:U) | None established | [1] |
| Data and privacy | Not described | None established | [1] |
| Business operations | Not described | Depends on how many services rely on the affected parser; not established | [1] |
| Regulatory or contractual | Not described | Not established by the reviewed sources | [1] |
Affected products and versions
| Vendor | Product or component | Affected versions | Platform | Fixed version | Source and qualification |
|---|---|---|---|---|---|
| GStreamer project | gst-plugins-base, SRT and WebVTT subtitle parsing | Not established by the reviewed sources | Not established | Not established | [1]; record in Awaiting Analysis, no range published in the reviewed record |
| Red Hat | Product mapping via Red Hat CVE page and Bugzilla ID 2569124 | Not extracted into the pack | Not established | Not established | [1]; the reviewed pack contains only the reference URLs and not their contents |
No complete affected range or fixed version is available in the reviewed sources. Any version range stated here would be invented, so none is given. The GStreamer security advisory sa-2026-0023 is listed as a reference, but its content was not extracted into the pack [1].
Exploitation and threat intelligence status
- Confirmed exploitation in the wild: not established by the reviewed sources.
- CISA KEV: not listed as of 2026-11-12 [2]. The catalog listing is not evidence of non-exploitation [2].
- Public proof of concept: no public exploit or proof-of-concept reference is included in the reviewed pack. Not established by the reviewed sources.
- EPSS: 0.0038 (0.38%), percentile 0.3224, dated 2026-11-10 [3]. EPSS estimates the probability of exploitation activity in the next 30 days and is not evidence of exploitation [3].
- Threat actors, campaigns and targeted sectors: not attributed by any reviewed source.
Absence of public evidence does not prove that exploitation has not occurred. Evidence currency: the KEV check and EPSS value are dated 2026-11-12 and 2026-11-10 respectively [2, 3].
Indicators of compromise
No indicators of compromise are given by the reviewed sources. No file hashes, file names, domains, IP addresses, process command lines or log event patterns are available. Indicators would go stale quickly and would need validation before any blocking. Not established by the reviewed sources.
Detection and exposure assessment
Asset inventory: identify hosts, containers and applications that link against or install gst-plugins-base and that parse SRT or WebVTT subtitle content from external sources. Record the package name, version and origin for each.
Version check on RPM-based systems, using the standard package manager, read-only: rpm -q gstreamer1-plugins-base. Prerequisite: the package is installed through the distribution package manager. Expected output: the installed package name and version string. Limitation: the reviewed sources give no fixed version to compare against, so the output can be recorded but cannot yet be judged vulnerable or fixed. A version check is not proof of exploitability.
For Debian-based systems, the equivalent read-only query is dpkg-query -W with the gstreamer base plugins package name, recording the version. The package name must be confirmed on the target distribution.
Log and telemetry review: look for media-processing processes with sustained high CPU use and for application hangs associated with subtitle loading. The reviewed sources give no specific log event or field, so these are generic signals rather than sourced indicators.
Authenticated vulnerability scanning: the reviewed sources give no scanner plugin identifier for this CVE. Confirm with the scanner vendor whether a check exists before relying on it.
Immediate mitigation
- Restrict untrusted subtitle input. Where an application accepts subtitle tracks from users or external sources, disable subtitle loading for those workflows until a fixed build is deployed. Protects against: the vector's required attack path. Limitation: may reduce application functionality. Side effects: missing subtitles. Verification: confirm the subtitle-loading setting or code path is disabled in a test instance. Origin: follows from the vector and the record's description of the parsing path; not a vendor recommendation.
- Bound process resources. Apply CPU time limits or watchdog restarts to media-processing services that parse subtitles, so a hung parse cannot consume a host. Protects against: sustained CPU exhaustion. Limitation: does not fix the regex behavior and may terminate legitimate long playback. Verification: confirm limits with the service manager. Origin: analyst assessment.
- Increase monitoring. Alert on sustained high CPU use by media-processing processes. Origin: analyst assessment.
Permanent remediation
Vendor-confirmed fix: not established by the reviewed sources. The GStreamer security advisory sa-2026-0023 is listed in the record, but its contents were not extracted into the pack, so the fixed gst-plugins-base version, patch identifier and any upgrade prerequisites are unknown [1]. Action: obtain the advisory and the distribution errata for the affected package, record the fixed version for each platform, and then update gst-plugins-base on each affected host through the distribution package manager. Verify with the package manager query listed under Detection and exposure assessment.
Recommended hardening, not a vendor fix: after updating, restart or reload media-processing services so the new library is loaded, since the reviewed sources do not state whether a restart is required. Confirm the restart requirement from the vendor advisory.
Workarounds and compensating controls
The mitigations in the Immediate mitigation section reduce exposure but do not remove the flaw. Disabling subtitle loading removes the vulnerable path only for the affected workflows. Process limits contain the impact but do not stop repeated parsing. Residual risk remains until a fixed build is installed. These controls are not equivalent to a permanent fix. Not established by the reviewed sources: any vendor-supported workaround.
Validation and verification
- Record the installed gst-plugins-base package version on each host and compare it against the fixed version once the advisory is obtained [1].
- Confirm that the application or service actually links the updated library, for example by checking the loaded library version after a restart.
- Confirm that the subtitle-loading restriction, if used, is active in the configuration and tested with benign subtitle files.
- Re-run the organization's authenticated scanner check, if one exists, and treat a pass as one data point only.
- Review CPU and hang telemetry for the affected services for a defined period after the update.
- Record evidence, owner, date and any exceptions. Do not treat a single check as proof of security.
Incident response
If a hang or sustained CPU spike in a media-processing service is linked to subtitle content, treat it as a possible availability incident. Triage: identify the affected process, host and the subtitle source. Containment: isolate the subtitle source and restart the service under monitoring. Evidence preservation: capture process state, logs and the offending file before deleting anything, following the organization's incident response plan. Eradication: update gst-plugins-base once the fixed version is known. Recovery: monitor CPU and service health after restart. Notification: follow applicable obligations; the reviewed sources indicate no data exposure from this CVE. Lessons learned: record how subtitle input reached the service. No exploitation is confirmed by the reviewed sources [1, 2].
Security hardening and prevention
Specific to this flaw: when fixed code is available, review SRT and WebVTT sanitization for any remaining unanchored or repeatedly re-scanned patterns, and add regression tests with long unmatched markup-like cues to confirm linear behavior. Input limits: enforce maximum cue length and maximum cue count before parsing. Isolation: run untrusted-media parsing in a separate low-privilege process with CPU limits. Monitoring: alert on parser-related hangs. Testing: include fuzzing of subtitle parsers in the development pipeline (defence-in-depth, broader than this CVE).
Risk assessment
Technical severity: the record scores 6.5 MEDIUM under CVSS 3.1 with availability as the only impact, from a secondary scorer [1]. Exposure: depends on how many deployed applications parse external subtitles, which is not established. Prerequisites: network delivery with no privileges and a required user interaction, per vector [1]. Exploitation evidence: none confirmed in the reviewed sources; KEV not listed [2]; EPSS 0.0038 [3]. Business impact: availability interruption of affected services. Existing controls: not established. Residual risk: high uncertainty until the affected range and fixed version are published.
Recommended priority (analyst assessment): medium-to-high for internet-facing or multi-user media services that accept external subtitles, and lower for single-user desktop use. This is an organization-specific judgment with the stated assumptions above, and it is not the CVSS score.
Conclusion
CVE-2026-125040 is a quadratic-complexity regular expression weakness in the SRT and WebVTT subtitle parsing of gst-plugins-base that can make GStreamer-based applications unresponsive [1]. Application owners should act first by restricting untrusted subtitle input and bounding process resources, then by updating gst-plugins-base once the fixed version is confirmed from the GStreamer advisory and distribution errata [1]. Closing the issue requires the affected version range, the fixed build, the patch identifier, a post-update version check and evidence that services run the updated library without CPU exhaustion [1].
Remediation checklist
- Inventory every host, container and application that uses gst-plugins-base and parses SRT or WebVTT subtitles from external sources, recording package name and version [1].
- Disable subtitle loading for untrusted or user-supplied media in affected workflows until a fixed build is installed; verify the setting in a test instance [1].
- Apply CPU time limits or watchdog restarts to media-processing services that parse subtitles, and verify the limits with the service manager [1].
- Obtain the GStreamer security advisory sa-2026-0023 and the distribution errata to establish the affected range and fixed version for each platform [1].
- Update gst-plugins-base on each affected host through the distribution package manager to the vendor-fixed version, and verify with rpm -q gstreamer1-plugins-base or the Debian equivalent [1].
- Restart or reload affected media-processing services after updating, and confirm the loaded library version, since the restart requirement is not stated in the reviewed sources [1].
- Alert on sustained high CPU use by media-processing processes and review telemetry for affected services for a defined period after the update [1].
- Record the validation evidence, owner, date and exceptions, and re-run any available authenticated scanner check as one data point only [1].
Evidence gaps
- Affected version range for gst-plugins-base: the record and pack do not publish one; the GStreamer advisory sa-2026-0023 content was not extracted, and it would settle this [1].
- Fixed version and patch identifier: not given in the pack; the GStreamer advisory and Red Hat tracker (Bugzilla 2569124) contents would settle this [1].
- Root cause detail: the exact expression, code location and commit are not disclosed; the fix diff or advisory text would settle this [1].
- Delivery path and user interaction: the record does not describe how crafted subtitles reach the parser in real applications; vendor or researcher analysis would settle this [1].
- Final CVSS scoring: only a secondary Red Hat CVSS 3.1 score is present; a primary NVD analysis after the record moves past Awaiting Analysis would settle this [1].
- Exploitation evidence and proof-of-concept availability: none in the pack; CISA KEV and vendor or threat-intelligence reporting updates would be needed [2, 3].
- Indicators of compromise: none provided; vendor or incident responder reporting would be required, and any indicators would need validation before use.
- Scanner and detection coverage: no sourced scanner plugin, log event or read-only vendor check is available; the scanner vendor or the GStreamer advisory would settle this [1].
References
- CVE-2026-125040 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-125040. Accessed 2026-11-12.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-12. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-12.
- EPSS score for CVE-2026-125040. FIRST, 2026-11-10. https://api.first.org/data/v1/epss?cve=CVE-2026-125040. Accessed 2026-11-12.
Summary
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.
Severity breakdown
Medium · 6.5
An attacker without an account can exploit this over the network if a user is tricked into an action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- yes, someone must click, open or visit something
- Scope
- stays within the vulnerable component
- Impact
- high on availability, none on confidentiality and integrity
Weakness
- CWE-1333: Inefficient Regular Expression Complexity
References by type
Other references
Affected
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Frequently asked questions
What is CVE-2026-125040?
CVE-2026-125040 describes a resource-exhaustion weakness in the SRT and WebVTT subtitle handling of GStreamer's gst-plugins-base module, where inline markup sanitization uses unanchored regular expressions that rescan remaining text. Weakness type: Inefficient Regular Expression Complexity (CWE-1333).
How severe is CVE-2026-125040?
CVE-2026-125040 has a CVSS 3.1 base score of 6.5 (medium), from the CNA (redhat.com). An attacker without an account can exploit this over the network if a user is tricked into an action.
Is CVE-2026-125040 being exploited?
Not as far as is known: CVE-2026-125040 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.
How do I fix CVE-2026-125040?
Inventory every host, container and application that uses gst-plugins-base and parses SRT or WebVTT subtitles from external sources, recording package name and version. Disable subtitle loading for untrusted or user-supplied media in affected workflows until a fixed build is installed; verify the setting in a test instance. Apply CPU time limits or watchdog restarts to media-processing services that parse subtitles, and verify the limits with the service manager.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-137941 — Red Hat Enterprise Linux 6
- Privilege Escalation Vulnerability in tuned Affects Local Users
- 12-Year-Old Linux Kernel NFS Flaw Allows Unauthenticated Root Takeover
- Privilege Escalation Vulnerability in Linux-PAM Due to Misconfigured Vendor Directories
- CERT-In Rates Linux KVM Memory Flaw High, Warns Guest Users Could Reach Host Memory