GLSA-200710-04 : libsndfile: Buffer overflow

High Nessus Plugin ID 26944


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-200710-04 (libsndfile: Buffer overflow)

Robert Buchholz of the Gentoo Security team discovered that the flac_buffer_copy() function does not correctly handle FLAC streams with variable block sizes which leads to a heap-based buffer overflow (CVE-2007-4974).
Impact :

A remote attacker could exploit this vulnerability by enticing a user to open a specially crafted FLAC file or network stream with an application using libsndfile. This might lead to the execution of arbitrary code with privileges of the user playing the file.
Workaround :

There is no known workaround at this time.


All libsndfile users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=media-libs/libsndfile-1.0.17-r1'

See Also

Plugin Details

Severity: High

ID: 26944

File Name: gentoo_GLSA-200710-04.nasl

Version: $Revision: 1.13 $

Type: local

Published: 2007/10/09

Modified: 2017/08/14

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:libsndfile, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2007/10/07

Reference Information

CVE: CVE-2007-4974

OSVDB: 40574

GLSA: 200710-04

CWE: 119