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.
Severity (CVSS)
| Base score | 7.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | 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 |
| Provided by | CNA |
Weaknesses
- CWE-93 — Improper Neutralization of CRLF Sequences ('CRLF Injection')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| mpv-player | mpv | 0.29.0 to <0.42.0 [affected] |
References
- https://github.com/mpv-player/mpv/pull/18762 (issue-tracking patch)
- https://github.com/mpv-player/mpv/commit/c3096515dcd26c14004f985538b5aa41db613856 (patch)
- https://github.com/mpv-player/mpv/blob/v0.41.0/player/lua/ytdl_hook.lua#L244-L251 (technical-description)
- https://github.com/mpv-player/mpv/blob/v0.41.0/player/lua/ytdl_hook.lua#L1115-L1137 (technical-description)
- https://github.com/mpv-player/mpv/releases/tag/v0.42.0 (release-notes)
- https://github.com/mpv-player/mpv (product)
- https://www.vulncheck.com/advisories/mpv-0.29.0-before-0.42.0-playlist-entry-injection-via-ytdl-hook-newlines (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 06 Nov 2026 08:03 UTC.