GLSA-200905-09 : libsndfile: User-assisted execution of arbitrary code

High Nessus Plugin ID 38944


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


The remote host is affected by the vulnerability described in GLSA-200905-09 (libsndfile: User-assisted execution of arbitrary code)

The following vulnerabilities have been found in libsndfile:
Tobias Klein reported that the header_read() function in src/common.c uses user input for calculating a buffer size, possibly leading to a heap-based buffer overflow (CVE-2009-1788).
The vendor reported a boundary error in the aiff_read_header() function in src/aiff.c, possibly leading to a heap-based buffer overflow (CVE-2009-1791).
Impact :

A remote attacker could entice a user to open a specially crafted AIFF or VOC file in a program using libsndfile, possibly resulting in the execution of arbitrary code with the privileges of the user running the application.
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.20'

See Also

Plugin Details

Severity: High

ID: 38944

File Name: gentoo_GLSA-200905-09.nasl

Version: $Revision: 1.13 $

Type: local

Published: 2009/05/28

Modified: 2016/05/16

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 9.3

Temporal Score: 6.9

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

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: 2009/05/27

Reference Information

CVE: CVE-2009-1788, CVE-2009-1791

BID: 34978

OSVDB: 54510, 54511

GLSA: 200905-09

CWE: 119