libwmf: Buffer overflow vulnerability libwmf is vulnerable to an integer overflow potentially resulting in the execution of arbitrary code. libwmf August 10, 2006 August 10, 2006: 01 139325 remote 0.2.8.4 0.2.8.4

libwmf is a library for reading and converting vector images in Microsoft's native Windows Metafile Format (WMF).

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.

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.

There is no known workaround for this issue.

All libwmf users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=media-libs/libwmf-0.2.8.4"
CVE-2006-3376 falco dizzutch falco