Description
Stack-based buffer overflow in the sub_read_line_sami function in subreader.c in MPlayer, as used in SMPlayer 0.6.9, allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a long string in a SAMI subtitle file.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mplayer | 2:1.0~rc4.dfsg1+svn33713-2 | — |
| Debian 13 | mplayer | 2:1.0~rc4.dfsg1+svn33713-2 | — |
| Debian 12 | mplayer | 2:1.0~rc4.dfsg1+svn33713-2 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
MPlayer SAMI Subtitle File Buffer Overflow
exploit/windows/fileformat/mplayer_sami_bof
Exploit-DB 1
- MPlayer - '.SAMI' Subtitle File Buffer Overflow (Metasploit) EDB-18954 · local · May 30, 2012 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://labs.mwrinfosecurity.com/system/assets/149/original/mwri_mplayer-sami-subtitles_2011-08-12.pdf
- [oss-security] 20111018 Re: CVE request: mplayer SAMI subtitle parsing buffer overflow mailing-list
- 55486 third-party-advisory
- GLSA-201310-13 vendor-advisory
- http://git.mplayer2.org/mplayer2/commit/?id=27b88a09c5319deb62221b8cd0ecc14cd1136e4a