{"schemaVersion":3,"id":"CVE-2006-5870","aliases":["RHSA-2007:0001","DSA-1246-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2007-01-04T11:00:00.000Z","modified":"2024-08-07T20:04:55.653Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.3,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":9.3,"severity":"high","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.08514,"percentile":0.95,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.2139999999999989,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.083},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.08514,"percentile":0.95}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.083,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.08514,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.08514,"percentile":0.95}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-189","name":"Numeric Errors","description":"Weaknesses in this category are related to improper calculation or conversion of numbers.","type":"category","status":"Draft","abstraction":null,"likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/189.html"}],"affected":[{"vendor":"debian","product":"openoffice.org","name":"openoffice.org","label":"openoffice.org","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/openoffice.org","purlType":"deb","versions":[{"text":"< 1.1.3-9sarge4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1.3-9sarge4","eol":null,"hubHref":null},{"vendor":"openoffice","product":"openoffice","name":"openoffice","label":"openoffice","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.0.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.0.4","eol":null,"hubHref":"/vendor/openoffice/openoffice"},{"vendor":"redhat","product":"openoffice.org","name":"openoffice.org","label":"openoffice.org","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/openoffice.org","purlType":"rpm","versions":[{"text":"< 0:1.1.2-35.2.0.EL3","noFixRecorded":false,"fixedIn":null},{"text":"< 0:1.1.5-6.6.0.EL4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.1.2-35.2.0.EL3 | < 0:1.1.5-6.6.0.EL4","eol":null,"hubHref":null},{"vendor":"redhat","product":"openoffice.org-debuginfo","name":"openoffice.org-debuginfo","label":"openoffice.org-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/openoffice.org-debuginfo","purlType":"rpm","versions":[{"text":"< 0:1.1.2-35.2.0.EL3","noFixRecorded":false,"fixedIn":null},{"text":"< 0:1.1.5-6.6.0.EL4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.1.2-35.2.0.EL3 | < 0:1.1.5-6.6.0.EL4","eol":null,"hubHref":null},{"vendor":"redhat","product":"openoffice.org-i18n","name":"openoffice.org-i18n","label":"openoffice.org-i18n","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/openoffice.org-i18n","purlType":"rpm","versions":[{"text":"< 0:1.1.2-35.2.0.EL3","noFixRecorded":false,"fixedIn":null},{"text":"< 0:1.1.5-6.6.0.EL4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.1.2-35.2.0.EL3 | < 0:1.1.5-6.6.0.EL4","eol":null,"hubHref":null},{"vendor":"redhat","product":"openoffice.org-kde","name":"openoffice.org-kde","label":"openoffice.org-kde","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/openoffice.org-kde","purlType":"rpm","versions":[{"text":"< 0:1.1.5-6.6.0.EL4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.1.5-6.6.0.EL4","eol":null,"hubHref":null},{"vendor":"redhat","product":"openoffice.org-libs","name":"openoffice.org-libs","label":"openoffice.org-libs","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/openoffice.org-libs","purlType":"rpm","versions":[{"text":"< 0:1.1.2-35.2.0.EL3","noFixRecorded":false,"fixedIn":null},{"text":"< 0:1.1.5-6.6.0.EL4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.1.2-35.2.0.EL3 | < 0:1.1.5-6.6.0.EL4","eol":null,"hubHref":null},{"vendor":"sun","product":"staroffice","name":"staroffice","label":"staroffice","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"6.0","noFixRecorded":false,"fixedIn":null},{"text":"7.0","noFixRecorded":false,"fixedIn":null},{"text":"8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"6.0 | 7.0 | 8.0","eol":null,"hubHref":"/vendor/sun/staroffice"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9145","label":"oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9145","hostname":"oval.cisecurity.org","tags":["VDB Entry","Signature","X Refsource OVAL"]},{"url":"http://www.openoffice.org/issues/show_bug.cgi?id=70042","label":"www.openoffice.org/issues/show_bug.cgi?id=70042","hostname":"www.openoffice.org","tags":["X Refsource CONFIRM","Patch"]},{"url":"http://secunia.com/advisories/23683","label":"secunia.com/advisories/23683","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory"]},{"url":"http://www.ngssoftware.com/advisories/high-risk-vulnerabilities-in-the-staroffice-suite/","label":"www.ngssoftware.com/advisories/high-risk-vulnerabilities-in-the-staroffice-suite/","hostname":"www.ngssoftware.com","tags":["X Refsource MISC"]},{"url":"http://secunia.com/advisories/23682","label":"secunia.com/advisories/23682","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory"]},{"url":"http://osvdb.org/32611","label":"osvdb.org/32611","hostname":"osvdb.org","tags":["VDB Entry","X Refsource OSVDB"]},{"url":"http://www.securityfocus.com/archive/1/455943/100/0/threaded","label":"www.securityfocus.com/archive/1/455943/100/0/threaded","hostname":"www.securityfocus.com","tags":["Mailing List","X Refsource BUGTRAQ"]},{"url":"http://secunia.com/advisories/23920","label":"secunia.com/advisories/23920","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory"]},{"url":"http://secunia.com/advisories/23600","label":"secunia.com/advisories/23600","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory"]},{"url":"http://www.ubuntu.com/usn/usn-406-1","label":"www.ubuntu.com/usn/usn-406-1","hostname":"www.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU"]},{"url":"http://www.kb.cert.org/vuls/id/220288","label":"www.kb.cert.org/vuls/id/220288","hostname":"www.kb.cert.org","tags":["Third Party Advisory","X Refsource CERT VN","US Government Resource"]},{"url":"http://secunia.com/advisories/23612","label":"secunia.com/advisories/23612","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-102735-1","label":"sunsolve.sun.com/search/document.do?assetkey=1-26-102735-1","hostname":"sunsolve.sun.com","tags":["Vendor Advisory","X Refsource SUNALERT"]},{"url":"http://lists.suse.com/archive/suse-security-announce/2007-Jan/0001.html","label":"lists.suse.com/archive/suse-security-announce/2007-Jan/0001.html","hostname":"lists.suse.com","tags":["Vendor Advisory","X Refsource SUSE"]},{"url":"http://archives.neohapsis.com/archives/vulnwatch/2007-q1/0002.htmly","label":"archives.neohapsis.com/archives/vulnwatch/2007-q1/0002.htmly","hostname":"archives.neohapsis.com","tags":["Mailing List","X Refsource VULNWATCH"]},{"url":"http://secunia.com/advisories/23711","label":"secunia.com/advisories/23711","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory"]},{"url":"http://security.gentoo.org/glsa/glsa-200701-07.xml","label":"security.gentoo.org/glsa/glsa-200701-07.xml","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO"]},{"url":"http://osvdb.org/32610","label":"osvdb.org/32610","hostname":"osvdb.org","tags":["VDB Entry","X Refsource OSVDB"]},{"url":"http://www.vupen.com/english/advisories/2007/0031","label":"www.vupen.com/english/advisories/2007/0031","hostname":"www.vupen.com","tags":["VDB Entry","X Refsource VUPEN","Vendor Advisory"]},{"url":"http://secunia.com/advisories/23712","label":"secunia.com/advisories/23712","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory"]},{"url":"http://www.securityfocus.com/archive/1/455947/100/0/threaded","label":"www.securityfocus.com/archive/1/455947/100/0/threaded","hostname":"www.securityfocus.com","tags":["Mailing List","X Refsource BUGTRAQ"]},{"url":"http://secunia.com/advisories/23616","label":"secunia.com/advisories/23616","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0001.html","label":"www.redhat.com/support/errata/RHSA-2007-0001.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Patch"]},{"url":"http://fedoranews.org/cms/node/2344","label":"fedoranews.org/cms/node/2344","hostname":"fedoranews.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://issues.rpath.com/browse/RPL-905","label":"issues.rpath.com/browse/RPL-905","hostname":"issues.rpath.com","tags":["X Refsource CONFIRM"]},{"url":"http://www.openoffice.org/nonav/issues/showattachment.cgi/39509/alloc.overflows.wmf.patch","label":"www.openoffice.org/nonav/issues/showattachment.cgi/39509/alloc.overflows.wmf.patch","hostname":"www.openoffice.org","tags":["X Refsource CONFIRM"]},{"url":"http://www.securityfocus.com/archive/1/455954/100/0/threaded","label":"www.securityfocus.com/archive/1/455954/100/0/threaded","hostname":"www.securityfocus.com","tags":["Mailing List","X Refsource BUGTRAQ"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8280","label":"oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8280","hostname":"oval.cisecurity.org","tags":["VDB Entry","Signature","X Refsource OVAL"]},{"url":"http://secunia.com/advisories/23620","label":"secunia.com/advisories/23620","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/31257","label":"exchange.xforce.ibmcloud.com/vulnerabilities/31257","hostname":"exchange.xforce.ibmcloud.com","tags":["VDB Entry","X Refsource XF"]},{"url":"http://secunia.com/advisories/23549","label":"secunia.com/advisories/23549","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory"]},{"url":"http://www.vupen.com/english/advisories/2007/0059","label":"www.vupen.com/english/advisories/2007/0059","hostname":"www.vupen.com","tags":["VDB Entry","X Refsource VUPEN","Vendor Advisory"]},{"url":"http://www.securityfocus.com/archive/1/455964/100/0/threaded","label":"www.securityfocus.com/archive/1/455964/100/0/threaded","hostname":"www.securityfocus.com","tags":["Mailing List","X Refsource BUGTRAQ"]},{"url":"http://www.securityfocus.com/archive/1/456271/100/100/threaded","label":"www.securityfocus.com/archive/1/456271/100/100/threaded","hostname":"www.securityfocus.com","tags":["Mailing List","X Refsource BUGTRAQ"]},{"url":"http://www.debian.org/security/2007/dsa-1246","label":"www.debian.org/security/2007/dsa-1246","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:006","label":"www.mandriva.com/security/advisories?name=MDKSA-2007:006","hostname":"www.mandriva.com","tags":["Vendor Advisory","X Refsource MANDRIVA"]},{"url":"http://securitytracker.com/id?1017466","label":"securitytracker.com/id?1017466","hostname":"securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK"]},{"url":"http://secunia.com/advisories/23762","label":"secunia.com/advisories/23762","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2007:0001","label":"access.redhat.com/errata/RHSA-2007:0001","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"http://www.redhat.com/security/updates/classification/#important","label":"www.redhat.com/security/updates/classification/","hostname":"www.redhat.com","tags":["ARTICLE"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=217347","label":"bugzilla.redhat.com/show_bug.cgi?id=217347","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2007/rhsa-2007_0001.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2007/rhsa-2007_0001.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2006-5870","label":"access.redhat.com/security/cve/CVE-2006-5870","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1618229","label":"bugzilla.redhat.com/show_bug.cgi?id=1618229","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2006-5870","label":"www.cve.org/CVERecord?id=CVE-2006-5870","hostname":"www.cve.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-5870","label":"nvd.nist.gov/vuln/detail/CVE-2006-5870","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2007-01-04T11:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-07T20:04:55.653Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T19:46:52.256Z","stale":false,"partial":false}}