Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessHost attacker-controlled feed or page
-
DeliveryEmbed newline in playlist URL
-
ExploitBypass url_is_safe() via injected entry
-
ExecutionOpen file:// or av://ladspa input
-
ImpactRead local files or execute code
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization CRLF sequence sanitization
|
| Exploitation Conditions | Exploitation requires mpv to invoke its bundled ytdl_hook script (active when a youtube-dl/yt-dlp backend is present and ytdl is enabled) and the victim to open attacker-controlled streaming content - a feed, page, or playlist whose URLs the attacker influences - in an affected version (0.29.0 through 0.41.x). The attacker embeds newline/control characters in a playlist URL to inject extra entries that evade url_is_safe(), enabling file:// inputs for local file disclosure; code execution additionally requires the av://ladspa path to be usable so a shared object can be loaded. Limiting factors: user interaction is required (the victim must play attacker-sourced content), the attacker must control the consumed feed or page (AT:P), and fixed versions from 0.42.0 are not affected. |
| Impact | The vendor CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H, score 7.7 High) describes a network-reachable, unauthenticated flaw with full confidentiality, integrity and availability impact to the vulnerable system, but with two real dampeners: AT:P means a specific attack requirement must hold (the attacker must control a feed, page or playlist the victim consumes) and UI:P means the victim must act by opening that attacker-influenced content in mpv. There is no CISA KEV listing and no EPSS score in the supplied data, so 'no public exploit identified at time of analysis' applies to a working exploit; however, the fix PR #18762 and the referenced vulnerable source lines publicly disclose the exact mechanism (newline/control-character injection into playlist entries bypassing url_is_safe()), which materially lowers the bar to reproduce. The vuln.today decision label is 'this_week', consistent with a serious but interaction-gated issue rather than an emergency. Net: this is a genuine priority for anyone who streams via mpv's ytdl_hook, not merely a high-number-low-reality finding, because the end impact (local file read and code execution via ladspa shared objects) is severe - but exploitation is bounded by the need for user interaction and attacker control of the consumed feed, so it is not wormable or drive-by against arbitrary targets. |
| Exploit ScenarioDerived | An attacker who controls a web page, channel, or playlist feed that a victim opens in mpv embeds a newline inside a playlist URL so that an additional, attacker-chosen entry is injected past the url_is_safe() check. When the victim plays the content, mpv opens an injected file:// input to exfiltrate a local file, or an av://ladspa input that loads an attacker-referenced shared object, achieving code execution. No working exploit code is provided in the input, but the fix PR diff publicly reveals the injection mechanism. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Playlist entry injection in mpv 0.29.0 through 0.41.x allows remote attackers to bypass the bundled ytdl_hook script's url_is_safe() scheme check by embedding newline and other control characters in playlist URLs, injecting extra entries that can point at file:// inputs for local file disclosure or at av://ladspa inputs to load a shared object for code execution. The flaw is only reachable when the ytdl hook is active (a youtube-dl/yt-dlp backend is present and ytdl is enabled) and the victim opens attacker-influenced streaming content, so both user interaction and attacker control of the consumed feed or page are prerequisites; the vendor CVSS 4.0 score of 7.7 High (AT:P, UI:P) reflects those dampeners. It is fixed in mpv 0.42.0 via upstream PR/commit, and no public exploit was identified at time of analysis; the vuln.today decision label places remediation in the this_week queue.
RemediationAI
Upgrade to mpv 0.42.0, the first release containing the fix; the upstream changes are in PR https://github.com/mpv-player/mpv/pull/18762 and commit https://github.com/mpv-player/mpv/commit/c3096515dcd26c14004f985538b5aa41db613856, and the release is at https://github.com/mpv-player/mpv/releases/tag/v0.42.0 (vendor advisory: https://www.vulncheck.com/advisories/mpv-0.29.0-before-0.42.0-playlist-entry-injection-via-ytdl-hook-newlines). If upgrading cannot be done immediately on 0.29.0-0.41.x, the exposure is confined to the ytdl hook, so disabling it (ytdl=no in mpv.conf or --no-ytdl on the command line) removes the injection path entirely at the cost of losing youtube-dl/yt-dlp-backed streaming playback; as a narrower measure, do not open untrusted playlists, feeds or pages in mpv while the hook is enabled. Users who must keep streaming support should treat the upgrade to 0.42.0 as the complete fix, since the vulnerability is in the bundled Lua script itself and configuration choices alone do not sanitize the injected entries.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
mpv's streaming integration lives in a bundled Lua script, player/lua/ytdl_hook.lua, which shells out to a youtube-dl/yt-dlp backend and translates the returned JSON into mpv playlist/EDL entries ("#EXTINF" lines followed by a URL, plus sub-file and thumbnail references). Before the fix, URLs taken from that metadata were written into the playlist without screening for control characters, so a URL containing a newline (CWE-93: improper neutralization of CRLF sequences) terminates the intended entry and starts an attacker-supplied one. Because the injected entry is never passed through mpv's url_is_safe() scheme allowlist, the attacker can steer mpv into protocols such as file:// (reading local files) or av://ladspa, where libavfilter's ladspa filter loads a shared object - turning a playlist-parsing bug into code execution. The upstream patch (PR 18762, commit c3096515dcd26c14004f985538b5aa41db613856) rejects entry URLs whose host/site string contains control characters (%c) with an error message, moves the title/#EXTINF insertion after that validation so titles can no longer smuggle entries, escapes EDL duration fields via edl_escape(), subjects thumbnail URLs to url_is_safe(), and replaces the memory:// subtitle scheme with data://text/plain. The affected range spans mpv 0.29.0 up to 0.41.x; 0.42.0 carries the corrected script.
Know when Mpv gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Remote attacker-controlled feed with no authentication (PR:N) but mandatory victim playback (UI:R); successful injection yields local file read and code execution, so C:H/I:H/A:H, scope unchanged.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
mpv 0.29.0 before 0.42.0 contains a playlist injection vulnerability in the bundled ytdl_hook script that allows remote attackers to add unchecked entries by embedding newlines in playlist URLs. Attackers controlling a feed or page can bypass url_is_safe() to open file:// or av:// inputs, reading local files or loading shared objects via ladspa for code execution.
Executive ViewAI
A high-severity flaw in mpv media player versions 0.29.0 through 0.41.x enables attackers to bypass security checks and potentially execute code or disclose local files when users open malicious streaming content with the ytdl hook enabled. This affects employees and systems where mpv is used for media playback, such as engineering workstations or media processing pipelines, and could lead to unauthorized access or data leakage.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
mpv through 0.28.0 allows remote attackers to execute arbitrary code via a crafted web site, because it reads HTML docum
A format string vulnerability in mpv through 0.33.0 allows user-assisted remote attackers to achieve code execution via
EUVD-2026-117540
GHSA-8pc2-mgr8-m3xv
NVD
CVE.org
EPSS
Exploit-DB