All reports
High

libwmf: heap overflow within the RLE decoding of embedded BMP images

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2015-4588

Probability of exploitation in the next 30 days: 9.16%

FIRST EPSS · 2026-11-18

Description

Heap-based buffer overflow in the DecodeImage function in libwmf 0.2.8.4 allows remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a crafted "run-length count" in an image in a WMF file.

It was discovered that libwmf did not correctly process certain WMF (Windows Metafiles) with embedded BMP images. By tricking a victim into opening a specially crafted WMF file in an application using libwmf, a remote attacker could possibly use this flaw to execute arbitrary code with the privileges of the user running the application.