{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "c3096515dcd26c14004f985538b5aa41db613856"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v0.42.0",
                "range": [
                  {
                    "fixed": "b0841e8c4d156b8403dc1876c4cbd9011eb583f3"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "c3096515dcd26c14004f985538b5aa41db613856"
            },
            {
              "fixed": "b0841e8c4d156b8403dc1876c4cbd9011eb583f3"
            }
          ],
          "repo": "https://github.com/mpv-player/mpv",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-93"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123095.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "0.29.0"
              },
              {
                "fixed": "0.42.0"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "0.29.0"
              },
              {
                "fixed": "0.42.0"
              }
            ],
            "source": "CPE_FIELD",
            "strategy": "CPEApplicability"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "0.29.0"
              },
              {
                "fixed": "0.42.0"
              }
            ],
            "source": "DESCRIPTION"
          }
        ]
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2026-123095",
  "modified": "2026-11-05T21:15:41.314580377Z",
  "published": "2026-11-05T15:11:49.933Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123095.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/mpv-player/mpv"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/mpv-player/mpv/blob/v0.41.0/player/lua/ytdl_hook.lua#L1115-L1137"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/mpv-player/mpv/blob/v0.41.0/player/lua/ytdl_hook.lua#L244-L251"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mpv-player/mpv/commit/c3096515dcd26c14004f985538b5aa41db613856"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mpv-player/mpv/pull/18762"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/mpv-player/mpv/releases/tag/v0.42.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-123095"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/mpv-0.29.0-before-0.42.0-playlist-entry-injection-via-ytdl-hook-newlines"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "mpv 0.29.0 before 0.42.0 Playlist Entry Injection via ytdl_hook Newlines"
}