{"schemaVersion":3,"id":"CVE-2018-10120","aliases":["UBUNTU-CVE-2018-10120","DEBIAN-CVE-2018-10120"],"status":"published","duplicateOf":null,"title":null,"description":"The SwCTBWrapper::Read function in sw/source/filter/ww8/ww8toolbar.cxx in LibreOffice before 5.4.6.1 and 6.x before 6.0.2.1 does not validate a customizations index, which allows remote attackers to cause a denial of service (heap-based buffer overflow with write access) or possibly have unspecified other impact via a crafted document that contains a certain Microsoft Word record.","dates":{"published":"2018-04-15T16:00:00.000Z","modified":"2024-08-05T07:32:01.283Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.02062,"percentile":0.81055,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.039000000000000146,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02101},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02101,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02101,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02101,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02101,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02101,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02101,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02101,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03712,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02101,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02101,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02062,"percentile":0.81055}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02101,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02101,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03712,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02101,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02101,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02062,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02062,"percentile":0.81055}]},"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-129","name":"Improper Validation of Array Index","description":"The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/129.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"14.04","noFixRecorded":false,"fixedIn":null},{"text":"16.04","noFixRecorded":false,"fixedIn":null}],"versionsText":"14.04 | 16.04","eol":{"isEol":true,"eolDate":"2019-04-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"14.04","label":"14.04 'Trusty Tahr' (LTS)","eolFrom":"2019-04-02T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"14.04.6"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"libreoffice","name":"libreoffice","label":"libreoffice","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libreoffice","purlType":"deb","versions":[{"text":"< 1:6.0.2-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:6.0.2-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libreoffice","name":"libreoffice","label":"libreoffice","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libreoffice","purlType":"deb","versions":[{"text":"< 1:4.2.8-0ubuntu5.5","noFixRecorded":false,"fixedIn":null},{"text":"< 1:5.1.6~rc2-0ubuntu1~xenial6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:4.2.8-0ubuntu5.5 | < 1:5.1.6~rc2-0ubuntu1~xenial6","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null},{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0 | 8.0 | 9.0","eol":{"isEol":true,"eolDate":"2018-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"7","label":"7 (Wheezy)","eolFrom":"2018-05-31T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"7.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"libreoffice","product":"libreoffice","name":"libreoffice","label":"libreoffice","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.4.6.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.0.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.4.6.1 | ≥ 6.0.0, < 6.0.2.1","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"libreoffice","label":"LibreOffice","category":"app"}},"hubHref":"/vendor/libreoffice/libreoffice"},{"vendor":"redhat","product":"enterprise_linux_desktop","name":"enterprise linux desktop","label":"enterprise_linux_desktop","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_desktop"},{"vendor":"redhat","product":"enterprise_linux_server","name":"enterprise linux server","label":"enterprise_linux_server","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_server"},{"vendor":"redhat","product":"enterprise_linux_workstation","name":"enterprise linux workstation","label":"enterprise_linux_workstation","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_workstation"}],"affectedCount":8,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://gerrit.libreoffice.org/#/c/49499/","label":"gerrit.libreoffice.org","hostname":"gerrit.libreoffice.org","tags":["X Refsource MISC","Patch","Vendor Advisory","REPORT"]},{"url":"https://gerrit.libreoffice.org/#/c/49486/","label":"gerrit.libreoffice.org","hostname":"gerrit.libreoffice.org","tags":["X Refsource MISC","Patch","Vendor Advisory","REPORT"]},{"url":"https://gerrit.libreoffice.org/gitweb?p=core.git%3Ba=commit%3Bh=017fcc2fcd00af17a97bd5463d89662404f57667","label":"gerrit.libreoffice.org/gitweb?p=core.git%3Ba=commit%3Bh=017fcc2fcd00af17a97bd5463d89662404f57667","hostname":"gerrit.libreoffice.org","tags":["X Refsource MISC"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3054","label":"access.redhat.com/errata/RHSA-2018:3054","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory"]},{"url":"https://www.debian.org/security/2018/dsa-4178","label":"www.debian.org/security/2018/dsa-4178","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://usn.ubuntu.com/3883-1/","label":"usn.ubuntu.com/3883-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/04/msg00021.html","label":"lists.debian.org/debian-lts-announce/2018/04/msg00021.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://www.libreoffice.org/about-us/security/advisories/cve-2018-10120/","label":"www.libreoffice.org/about-us/security/advisories/cve-2018-10120/","hostname":"www.libreoffice.org","tags":["X Refsource MISC","Vendor Advisory","REPORT"]},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6173","label":"bugs.chromium.org/p/oss-fuzz/issues/detail?id=6173","hostname":"bugs.chromium.org","tags":["X Refsource MISC","Third Party Advisory"]},{"url":"https://gerrit.libreoffice.org/#/c/49500/","label":"gerrit.libreoffice.org","hostname":"gerrit.libreoffice.org","tags":["X Refsource MISC","Patch","Vendor Advisory","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2018-10120","label":"ubuntu.com/security/CVE-2018-10120","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3883-1","label":"ubuntu.com/security/notices/USN-3883-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-10120","label":"www.cve.org/CVERecord?id=CVE-2018-10120","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-10120","label":"security-tracker.debian.org/tracker/CVE-2018-10120","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-1356-1","DSA-4178-1","MGASA-2018-0271","OPENSUSE-SU-2024:10983-1","RHSA-2018:3054","SUSE-SU-2018:1296-1","USN-3883-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:10983-1","SUSE-SU-2018:1296-1","USN-3883-1"]},"timeline":[{"kind":"published","date":"2018-04-15T16:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T07:32:01.283Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T18:00:35.830Z","stale":false,"partial":false}}