Stack-based buffer overflow in FFmpeg - CVE-2008-3162

 

Stack-based buffer overflow in FFmpeg - CVE-2008-3162

Published: October 30, 2018 / Updated: June 12, 2025


Vulnerability identifier: #VU110620
CSH Severity: High
CVSS v4.0:
CVE-ID: CVE-2008-3162
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: ffmpeg.sourceforge.net
Affected software:
FFmpeg

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the str_read_packet function in libavformat/psxstr.c when processing a crafted STR file that interleaves audio and video sectors. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2008-3162

Install update from vendor's website.

Sources