mpv 0.29.0 before 0.42.0 Playlist Entry Injection via ytdl_hook Newlines
- State
- Published
- Severity
- 7.7 High
- Published
- Nov 5, 2026
- Updated
- Nov 9, 2026
- Reserved
- Nov 5, 2026
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.
| Product | Versions |
|---|---|
| mpv mpv-player | 0.29.0 to before 0.42.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.7 High | VulnCheck | |
| 3.1 | 7.5 High | VulnCheck |
Weaknesses
- CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection')
References
- https://github.com/mpv-player/mpv/pull/18762Issue TrackerPatch
- https://github.com/mpv-player/mpv/commit/c3096515dcd26c14004f985538b5aa41db613856Patch
- https://github.com/mpv-player/mpv/blob/v0.41.0/player/lua/ytdl_hook.lua#L244-L251Technical Details
- https://github.com/mpv-player/mpv/blob/v0.41.0/player/lua/ytdl_hook.lua#L1115-L1137Technical Details
- mpv v0.42.0 Release NotesRelease Notes
- https://github.com/mpv-player/mpvProduct Page
- VulnCheck Advisory: mpv 0.29.0 before 0.42.0 Playlist Entry Injection via ytdl_hook NewlinesThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.