CVE-2012-2149 Integer overflow in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary code via a crafted WordPerfect document due to an integer overflow in libwpd, affecting OpenOffice.org users.

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-2012-2149?

CVE-2012-2149 is a high-severity vulnerability in Redhat Enterprise Linux Desktop, published on 21 Jun 2012. 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

The WPXContentListener::_closeTableRow function in WPXContentListener.cpp in libwpd 0.8.8, as used by OpenOffice.org (OOo) before 3.4, allows remote attackers to execute arbitrary code via a crafted Wordperfect .WPD document that causes a negative array index to be used. NOTE: some sources report this issue as an integer overflow.

Weakness: CWE-189

Which versions are affected by CVE-2012-2149?

It affects 4 products.

Linux distribution packages (10)
libwpd Red Hat:enterprise_linux:5::clientAll versions0:0.8.7-3.1.el5_8
libwpd-debuginfo Red Hat:enterprise_linux:5::clientAll versions0:0.8.7-3.1.el5_8
libwpd-tools Red Hat:enterprise_linux:5::clientAll versions0:0.8.7-3.1.el5_8
libwpd Red Hat:enterprise_linux:5::client_workstationAll versions0:0.8.7-3.1.el5_8
libwpd-debuginfo Red Hat:enterprise_linux:5::client_workstationAll versions0:0.8.7-3.1.el5_8
libwpd-devel Red Hat:enterprise_linux:5::client_workstationAll versions0:0.8.7-3.1.el5_8
libwpd Red Hat:rhel_productivity:5All versions0:0.8.7-3.1.el5_8
libwpd-debuginfo Red Hat:rhel_productivity:5All versions0:0.8.7-3.1.el5_8
libwpd-devel Red Hat:rhel_productivity:5All versions0:0.8.7-3.1.el5_8
libwpd-tools Red Hat:rhel_productivity:5All versions0:0.8.7-3.1.el5_8

Products include Apache Openoffice.org, Libwpd Libwpd, Redhat Enterprise Linux Optional Productivity Applications, Redhat Enterprise Linux Desktop.

How do I fix CVE-2012-2149?

Upgrade to a fixed version.

Is CVE-2012-2149 being exploited?

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

All Redhat Enterprise Linux Desktop vulnerabilities

Sources

Also known as DEBIAN-CVE-2012-2149, GHSA-q242-fx58-pm2p, RHSA-2012:1043.

Is CVE-2012-2149 in your software?

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

Check your SBOMs for free