Gentoo Logo

FLAC: Buffer overflow

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200711-15 / flac
Release Date November 12, 2007
Latest Revision November 12, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-libs/flac < 1.2.1-r1 >= 1.2.1-r1 All supported architectures

Related bugreports: #195700

Synopsis

Multiple integer overflow vulnerabilities were found in FLAC possibly allowing for the execution of arbitrary code.

2.  Impact Information

Background

The Xiph.org Free Lossless Audio Codec (FLAC) library is the reference implementation of the FLAC audio file format. It contains encoders and decoders in library and executable form.

Description

Sean de Regge reported multiple integer overflows when processing FLAC media files that could lead to improper memory allocations resulting in heap-based buffer overflows.

Impact

A remote attacker could entice a user to open a specially crafted FLAC file or network stream with an application using FLAC. This might lead to the execution of arbitrary code with privileges of the user playing the file.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All FLAC users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/flac-1.2.1-r1"

You should also run revdep-rebuild to rebuild any packages that depend on older versions of FLAC:

Code Listing 3.2: Resolution

# revdep-rebuild --library=libFLAC.*

4.  References



Print

Page updated November 12, 2007

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

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