Description
Stack-based buffer overflow in the str_read_packet function in libavformat/psxstr.c in FFmpeg before r13993 allows remote attackers to cause a denial of service (application crash) or execute arbitrary code via a crafted STR file that interleaves audio and video sectors.
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 | ffmpeg | 0.svn20080206-10 | — |
| Debian 13 | ffmpeg | 0.svn20080206-10 | — |
| Debian 12 | ffmpeg | 0.svn20080206-10 | — |
| Debian 5.0 | ffmpeg-debian | 0.svn20080206-17+lenny1 | DSA-1781-1 |
| Debian 4.0 | ffmpeg | 0.cvs20060823-8+etch1 | DSA-1781-1 |
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.
Exploit-DB 1
- FFmpeg libavformat - 'psxstr.c' STR Data Heap Buffer Overflow EDB-32019 · dos · Jul 9, 2008 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DSA-1781-1 ffmpeg ffmpeg-debian - arbitrary code execution Debian Security (DSA / DLA) · Mar 9, 2026
References
- 30154 vdb-entry
- USN-630-1 vendor-advisory
- DSA-1781 vendor-advisory
- [oss-security] 20080710 CVE id request: libavformat mailing-list
- 31268 third-party-advisory
- 30994 third-party-advisory
- ADV-2008-2031 vdb-entry
- 34905 third-party-advisory
- [oss-security] 20080716 Re: CVE id request: libavformat mailing-list
- https://roundup.mplayerhq.hu/roundup/ffmpeg/issue311
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=489965
- 34385 third-party-advisory
- GLSA-200903-33 vendor-advisory
- MDVSA-2008:157 vendor-advisory
- http://svn.mplayerhq.hu/ffmpeg?view=rev&revision=13993