FAAD2: User-assisted execution of arbitrary code — GLSA 200811-03

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

Affected packages

media-libs/faad2 on all architectures
Affected versions < 2.6.1-r2
Unaffected versions >= 2.6.1-r2

Background

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

Description

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

Impact

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.

Workaround

There is no known workaround at this time.

Resolution

All FAAD2 users should upgrade to the latest version:

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

References

Release date
November 09, 2008

Latest revision
November 09, 2008: 01

Severity
normal

Exploitable
remote

Bugzilla entries