{"id":"UBUNTU-CVE-2021-30145","details":"A format string vulnerability in mpv through 0.33.0 allows user-assisted remote attackers to achieve code execution via a crafted m3u playlist file.","modified":"2026-04-22T12:52:35.016417Z","published":"2021-05-18T14:15:00Z","upstream":["CVE-2021-30145"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-30145"},{"type":"REPORT","url":"https://github.com/mpv-player/mpv/commit/cb3fa04bcb2ba9e0d25788480359157208c13e0b"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-30145"}],"affected":[{"package":{"name":"mpv","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/mpv@0.14.0-1build1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.2-1ubuntu2","0.12.0-1","0.14.0-1","0.14.0-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmpv1","binary_version":"0.14.0-1build1"},{"binary_version":"0.14.0-1build1","binary_name":"mpv"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-30145.json"}},{"package":{"name":"mpv","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/mpv@0.27.2-1ubuntu1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.26.0-3ubuntu1","0.26.0-3ubuntu2","0.27.0-2ubuntu2","0.27.0-2ubuntu3","0.27.0-2ubuntu4","0.27.2-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmpv1","binary_version":"0.27.2-1ubuntu1"},{"binary_name":"mpv","binary_version":"0.27.2-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-30145.json"}},{"package":{"name":"mpv","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/mpv@0.32.0-1ubuntu1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.29.1-1ubuntu1","0.30.0-1ubuntu1","0.32.0-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmpv1","binary_version":"0.32.0-1ubuntu1"},{"binary_name":"mpv","binary_version":"0.32.0-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-30145.json"}},{"package":{"name":"mpv","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/mpv@0.34.1-1ubuntu3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.33.1-1ubuntu1","0.34.0-2ubuntu1","0.34.1-1ubuntu1","0.34.1-1ubuntu2","0.34.1-1ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_name":"libmpv1","binary_version":"0.34.1-1ubuntu3"},{"binary_name":"mpv","binary_version":"0.34.1-1ubuntu3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-30145.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}