CVE-2006-5870 in Openoffice and 1 more product
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 proc...
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Openoffice | Openoffice | ≤ 2.0.4 |
| Sun | Staroffice | 6.0 7.0 8.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2006-5870 |
|---|---|
| BreachSpider ID | BS-2006-GLOBAL-338072-C |
| CVSS vector | AV:N/AC:M/Au:N/C:C/I:C/A:C |
| Published | 2006-12-31 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-189: CWE-189
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2006. A critical vulnerability affects Openoffice systems (CVE-2006-5870). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: AV:N/AC:M/Au:N/C:C/I:C/A:C.
Questions
What is CVE-2006-5870?
This vulnerability was disclosed in 2006. A critical vulnerability affects Openoffice systems (CVE-2006-5870). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2006-5870?
CVE-2006-5870 has CVSS 9.3 (Critical). Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C. EPSS: 8.5%.
Is CVE-2006-5870 actively exploited?
No confirmed active exploitation of CVE-2006-5870 as of 2026-09-25.
How do I remediate CVE-2006-5870?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2006-5870?
CVE-2006-5870 affects Openoffice Openoffice; Sun Staroffice.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Openoffice","product":"Openoffice","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.