Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-10120
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 05:31 UTC · Revision 1
Source evidence
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.
osv:CVE-2018-10120
Complete source record
{
"id": "c7ca26c6bb4621fe2e542728b8bd00c5451d73610150702e9855deba948869b1",
"url": "https://osv.dev/vulnerability/CVE-2018-10120",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-10120",
"summary": "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.",
"evidence": "osv:CVE-2018-10120",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2018-10120",
"aliases": [
"CVE-2018-10120"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/libreoffice/core",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "7d6c666f03cf1f0a0c2c51a17c0f67a8d5a8012b"
},
{
"fixed": "f7f06a8f319e4b62f9bc5095aa112a65d2f3ac89"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "5.4.6.1"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.0.0"
},
{
"fixed": "6.0.2.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"libreoffice-6-0-branch-point",
"gpg4libre-review-5.4.99",
"libreoffice-5-4-branch-point",
"libreoffice-5-3-branch-point",
"libreoffice-5-2-branch-point",
"libreoffice-5-1-branch-point",
"libreoffice-5-0-branch-point",
"libreoffice-4-4-branch-point",
"libreoffice-4-3-branch-point",
"sdremote-2.0.0",
"libreoffice-4-2-branch-point",
"libreoffice-4-2-milestone-1",
"libreoffice-4-1-branch-point",
"libreoffice-4-0-branch-point",
"libreoffice-3-6-branch-point",
"libreoffice-3.5.0.0",
"libreoffice-3-5-branch-point",
"windows_build_successful_2011_11_08",
"MELD_LIBREOFFICE_REPOS"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-10120.json"
}
}
],
"modified": "2026-10-24T10:30:29.974032365Z",
"provider": "osv",
"references": [
"https://gerrit.libreoffice.org/gitweb?p=core.git%3Ba=commit%3Bh=017fcc2fcd00af17a97bd5463d89662404f57667",
"https://access.redhat.com/errata/RHSA-2018:3054",
"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6173",
"https://lists.debian.org/debian-lts-announce/2018/04/msg00021.html",
"https://usn.ubuntu.com/3883-1/",
"https://www.debian.org/security/2018/dsa-4178",
"https://www.libreoffice.org/about-us/security/advisories/cve-2018-10120/",
"https://gerrit.libreoffice.org/#/c/49486/",
"https://gerrit.libreoffice.org/#/c/49499/",
"https://gerrit.libreoffice.org/#/c/49500/"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*"
],
"vendor_product": "canonical:ubuntu_linux",
"extracted_events": [
{
"range": [
{
"introduced": "14.04"
},
{
"last_affected": "14.04"
},
{
"introduced": "16.04"
},
{
"last_affected": "16.04"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
},
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
},
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:enterprise_linux_desktop",
"extracted_events": [
{
"range": [
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:enterprise_linux_server",
"extracted_events": [
{
"range": [
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:enterprise_linux_workstation",
"extracted_events": [
{
"range": [
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-10120",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 432464,
"published_at": "2018-04-16T09:58:10.557+00:00"
}