CVE-2006-5870 Integer overflow in n/a

Critical 9.3 Published Updated

Remote attackers can execute arbitrary code by tricking users into opening malicious WMF or EMF files in OpenOffice.org or StarOffice.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2006-5870?

CVE-2006-5870 is a critical vulnerability in n/a, published on 4 Jan 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Multiple integer overflows in OpenOffice.org (OOo) 2.0.4 and earlier, and possibly other versions before 2.1.0; and StarOffice 6 through 8; allow user-assisted remote attackers to execute arbitrary code via a crafted (a) WMF or (b) EMF file that triggers heap-based buffer overflows in (1) wmf/winwmf.cxx, during processing of META_ESCAPE records; and wmf/enhwmf.cxx, during processing of (2) EMR_POLYPOLYGON and (3) EMR_POLYPOLYGON16 records.

Weakness: CWE-189

Which versions are affected by CVE-2006-5870?

It affects 2 products.

Linux distribution packages (36)
openoffice.org Red Hat:enterprise_linux:3::asAll versions0:1.1.2-35.2.0.EL3
openoffice.org-debuginfo Red Hat:enterprise_linux:3::asAll versions0:1.1.2-35.2.0.EL3
openoffice.org-i18n Red Hat:enterprise_linux:3::asAll versions0:1.1.2-35.2.0.EL3
openoffice.org-libs Red Hat:enterprise_linux:3::asAll versions0:1.1.2-35.2.0.EL3
openoffice.org Red Hat:enterprise_linux:3::desktopAll versions0:1.1.2-35.2.0.EL3
openoffice.org-debuginfo Red Hat:enterprise_linux:3::desktopAll versions0:1.1.2-35.2.0.EL3
openoffice.org-i18n Red Hat:enterprise_linux:3::desktopAll versions0:1.1.2-35.2.0.EL3
openoffice.org-libs Red Hat:enterprise_linux:3::desktopAll versions0:1.1.2-35.2.0.EL3
openoffice.org Red Hat:enterprise_linux:3::esAll versions0:1.1.2-35.2.0.EL3
openoffice.org-debuginfo Red Hat:enterprise_linux:3::esAll versions0:1.1.2-35.2.0.EL3
openoffice.org-i18n Red Hat:enterprise_linux:3::esAll versions0:1.1.2-35.2.0.EL3
openoffice.org-libs Red Hat:enterprise_linux:3::esAll versions0:1.1.2-35.2.0.EL3
openoffice.org Red Hat:enterprise_linux:3::wsAll versions0:1.1.2-35.2.0.EL3
openoffice.org-debuginfo Red Hat:enterprise_linux:3::wsAll versions0:1.1.2-35.2.0.EL3
openoffice.org-i18n Red Hat:enterprise_linux:3::wsAll versions0:1.1.2-35.2.0.EL3
openoffice.org-libs Red Hat:enterprise_linux:3::wsAll versions0:1.1.2-35.2.0.EL3
openoffice.org Red Hat:enterprise_linux:4::asAll versions0:1.1.5-6.6.0.EL4
openoffice.org-debuginfo Red Hat:enterprise_linux:4::asAll versions0:1.1.5-6.6.0.EL4
openoffice.org-i18n Red Hat:enterprise_linux:4::asAll versions0:1.1.5-6.6.0.EL4
openoffice.org-kde Red Hat:enterprise_linux:4::asAll versions0:1.1.5-6.6.0.EL4
openoffice.org-libs Red Hat:enterprise_linux:4::asAll versions0:1.1.5-6.6.0.EL4
openoffice.org Red Hat:enterprise_linux:4::desktopAll versions0:1.1.5-6.6.0.EL4
openoffice.org-debuginfo Red Hat:enterprise_linux:4::desktopAll versions0:1.1.5-6.6.0.EL4
openoffice.org-i18n Red Hat:enterprise_linux:4::desktopAll versions0:1.1.5-6.6.0.EL4
openoffice.org-kde Red Hat:enterprise_linux:4::desktopAll versions0:1.1.5-6.6.0.EL4
openoffice.org-libs Red Hat:enterprise_linux:4::desktopAll versions0:1.1.5-6.6.0.EL4
openoffice.org Red Hat:enterprise_linux:4::esAll versions0:1.1.5-6.6.0.EL4
openoffice.org-debuginfo Red Hat:enterprise_linux:4::esAll versions0:1.1.5-6.6.0.EL4
openoffice.org-i18n Red Hat:enterprise_linux:4::esAll versions0:1.1.5-6.6.0.EL4
openoffice.org-kde Red Hat:enterprise_linux:4::esAll versions0:1.1.5-6.6.0.EL4
openoffice.org-libs Red Hat:enterprise_linux:4::esAll versions0:1.1.5-6.6.0.EL4
openoffice.org Red Hat:enterprise_linux:4::wsAll versions0:1.1.5-6.6.0.EL4
openoffice.org-debuginfo Red Hat:enterprise_linux:4::wsAll versions0:1.1.5-6.6.0.EL4
openoffice.org-i18n Red Hat:enterprise_linux:4::wsAll versions0:1.1.5-6.6.0.EL4
openoffice.org-kde Red Hat:enterprise_linux:4::wsAll versions0:1.1.5-6.6.0.EL4
openoffice.org-libs Red Hat:enterprise_linux:4::wsAll versions0:1.1.5-6.6.0.EL4

Products include Openoffice Openoffice, Sun Staroffice.

How do I fix CVE-2006-5870?

Upgrade to a fixed version.

Is CVE-2006-5870 being exploited?

There is no known exploitation of CVE-2006-5870 in the wild and no public exploit code.

Sources

Also known as DSA-1246-1, GHSA-564p-qwx9-wr9r, RHSA-2007:0001.

Is CVE-2006-5870 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free