Skip to main content
← Vulnerabilities

mpv 0.29.0 before 0.42.0 Playlist Entry Injection via ytdl_hook Newlines

Affects mpv 0.29.0 through versions before 0.42.0 that use the bundled ytdl_hook script, where a URL containing a line break is split into several playlist entries. Fixed in 0.42.0.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

7.7HighCNA
Exploited
No known exploitation
Fix
Fixed in 0.42.0
Who is exposed
Specific setups only

Do first: Check whether your setup matches what the bug needs. Affects mpv 0.29.0 through versions before 0.42.0, via the bundled ytdl_hook script A playlist entry URL contains a line break (newline) character

Published
Last modified
20/100 · provisional
Specific setups only
None on Exploit-DB, Metasploit or GitHub

Summary

mpv, a media player, has a playlist injection flaw in its bundled ytdl_hook script that lets an attacker, remotely and without logging in, add unchecked entries by embedding newlines in playlist URLs in a feed or page that a user opens. By bypassing the URL safety check, the attacker can open file:// or av:// inputs to read local files or load shared objects via ladspa, which can lead to code execution.

Read the original description

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.

cve.now Index

20Pcve.now Index 20 of 100 · methodology v3 · provisional
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure12/25Specific setups only, reachable over the network without a login
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity7.7/10CVSS 7.7
  • No patch0/5No signal

What would change the score

  • Would score about 70 if added to CISA KEV
  • Would score about 65 if CISA's SSVC rates exploitation active

What to do

  • Check whether your setup matches what the bug needs.

    Affects mpv 0.29.0 through versions before 0.42.0, via the bundled ytdl_hook script A playlist entry URL contains a line break (newline) character
  • Upgrade to a fixed version: 0.42.0.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • mpv-player mpv

    From 0.29.0 · fixed in 0.42.0

Evidence 7

  1. Patch
  2. Patch
  3. Repository
  4. Repository
  5. Repository
Show all 7 sourcesShow fewer sources
  1. Repository
  2. Link

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

Questions about CVE-2026-123095

Is CVE-2026-123095 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data

What does this mean?

A playlist entry URL containing a line break is split into several entries by the bundled ytdl_hook script. The split lets an entry bypass the url_is_safe() check and open file:// or av:// inputs, which can allow reading local files or loading shared objects via ladspa for code execution.Source: vulncheck.com, github.com

Which versions are affected by CVE-2026-123095?

mpv: from 0.29.0 before 0.42.0.Source: cve.now feed data

Am I affected, and how do I check?

mpv versions from 0.29.0 up to but not including 0.42.0 are affected when the bundled ytdl_hook script is involved. To check a version, run mpv --version and compare the number with 0.42.0.Source: vulncheck.com, github.com

How do I fix CVE-2026-123095?

Upgrade mpv to 0.42.0 or later, which contains the fix.Source: vulncheck.com, github.com