Gentoo Logo

FAAD2: User-assisted execution of arbitrary code


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200811-03 / faad2
Release Date November 09, 2008
Latest Revision November 09, 2008: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-libs/faad2 < 2.6.1-r2 >= 2.6.1-r2 All supported architectures

Related bugreports: #238445


A buffer overflow in FAAD2 might lead to user-assisted execution of arbitrary code via an MP4 file.

2.  Impact Information


FAAD2 is an open source MPEG-4 and MPEG-2 AAC decoder.


The ICST-ERCIS (Peking University) reported a heap-based buffer overflow in the decodeMP4file() function in frontend/main.c.


A remote attacker could entice a user to open a specially crafted MPEG-4 (MP4) file in an application using FAAD2, possibly leading to the execution of arbitrary code.

3.  Resolution Information


There is no known workaround at this time.


All FAAD2 users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/faad2-2.6.1-r2"

4.  References


Page updated November 09, 2008

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.