GLSA Advocate
Joined: 12 May 2004 Posts: 2663
|
Posted: Thu Aug 10, 2006 8:26 pm Post subject: [ GLSA 200608-17 ] libwmf: Buffer overflow vulnerability |
|
|
Gentoo Linux Security Advisory
Title: libwmf: Buffer overflow vulnerability (GLSA 200608-17)
Severity: normal
Exploitable: remote
Date: August 10, 2006
Bug(s): #139325
ID: 200608-17
Synopsis
libwmf is vulnerable to an integer overflow potentially resulting in the execution of arbitrary code.
Background
libwmf is a library for reading and converting vector images in Microsoft's native Windows Metafile Format (WMF).
Affected Packages
Package: media-libs/libwmf
Vulnerable: < 0.2.8.4
Unaffected: >= 0.2.8.4
Architectures: All supported architectures
Description
infamous41md discovered that libwmf fails to do proper bounds checking on the MaxRecordSize variable in the WMF file header. This could lead to an head-based buffer overflow.
Impact
By enticing a user to open a specially crafted WMF file, a remote attacker could cause a heap-based buffer overflow and execute arbitrary code with the permissions of the user running the application that uses libwmf.
Workaround
There is no known workaround for this issue.
Resolution
All libwmf users should upgrade to the latest version: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/libwmf-0.2.8.4" |
References
CVE-2006-3376 |
|