Gentoo Logo

libgsf: Buffer overflow


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200612-13 / libgsf
Release Date December 12, 2006
Latest Revision December 12, 2006: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
gnome-extra/libgsf < 1.14.2 >= 1.14.2 All supported architectures

Related bugreports: #156693


libgsf improperly allocates memory allowing for a heap overflow and possibly the execution of arbitrary code.

2.  Impact Information


The GNOME Structured File Library is an I/O library that can read and write common file types and handle structured formats that provide file-system-in-a-file semantics.


"infamous41md" has discovered that the "ole_init_info" function may allocate too little memory for storing the contents of an OLE document, resulting in a heap buffer overflow.


An attacker could entice a user to open a specially crafted OLE document, and possibly execute arbitrary code with the rights of the user opening the document.

3.  Resolution Information


There is no known workaround at this time.


All libgsf users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=gnome-extra/libgsf-1.14.2"

4.  References


Page updated December 12, 2006

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.