-
Notifications
You must be signed in to change notification settings - Fork 3.3k
SECURITY.md: add security policy #17642
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+67
−0
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| # Security Policy | ||
|
|
||
| ## Supported Versions | ||
|
|
||
| Only the most recent stable release of mpv is supported with security updates. | ||
| Older releases are **not** maintained and will not receive patches. | ||
|
|
||
| ## What Qualifies as a Security Issue | ||
|
|
||
| mpv is a desktop media player. It is not designed to be exposed to untrusted | ||
| environments. By design, mpv provides features such as loading user scripts, | ||
| running subprocesses, and controlling playback via IPC. These documented | ||
| mechanisms are not considered security vulnerabilities. | ||
|
|
||
| A security issue is a bug in mpv's own code that allows untrusted input to cause | ||
| harm beyond the expected scope of playback. Examples include: | ||
|
|
||
| - Exploitable memory corruption (buffer overflows, use-after-free, etc.) caused | ||
| by crafted media files, subtitles, or playlists. | ||
| - Arbitrary code execution or unexpected file system access triggered by | ||
| malicious input. | ||
| - Information disclosure (e.g. unintended local file reads) through crafted | ||
| input. | ||
|
|
||
| The following are generally **not** considered security issues: | ||
|
|
||
| - Behavior resulting from documented features and interfaces. | ||
| - Denial of service (crashes, excessive memory or CPU usage) from crafted input. | ||
| These are typically unavoidable when processing complex media formats and are | ||
| treated as regular bugs. | ||
| - Bugs in third-party dependencies (FFmpeg, libass, libplacebo, etc.) that are | ||
| not caused by mpv-specific usage. These should be reported to the respective | ||
| upstream projects. | ||
|
|
||
| When in doubt, report it. We would rather triage a non-issue than miss a real | ||
| vulnerability. | ||
|
|
||
| ## Reporting a Vulnerability | ||
|
|
||
| If you discover a security vulnerability in mpv, please report it responsibly | ||
|
kasper93 marked this conversation as resolved.
|
||
| using **GitHub's private vulnerability reporting** feature: | ||
|
|
||
| 1. Go to the [Security](https://github.com/mpv-player/mpv/security) tab of the | ||
| mpv repository. | ||
| 2. Click **"Report a vulnerability"**. | ||
| 3. Fill in the advisory form with as much detail as possible, including steps to | ||
| reproduce, affected versions, and potential impact. | ||
|
|
||
| This creates a private advisory visible only to you and our security team, | ||
| allowing us to discuss and address the issue before any public disclosure. | ||
|
|
||
| For more information on this process, see | ||
| [GitHub's documentation on private vulnerability reporting](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability). | ||
|
|
||
| ## Direct Contact | ||
|
|
||
| If you are unable to use GitHub's reporting feature, you can reach out directly | ||
| to the security team: | ||
|
|
||
| - **@Akemi** - https://github.com/Akemi | ||
| - **@kasper93** - https://github.com/kasper93 | ||
|
kasper93 marked this conversation as resolved.
|
||
|
|
||
| ## Disclosure Policy | ||
|
|
||
| - Please **do not** open public issues for security vulnerabilities. | ||
| - We aim to acknowledge reports promptly and work toward a fix in a reasonable | ||
| timeframe. | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.