CVE-2018-10120: Buffer Overflow

Published Apr 15, 2018
·
Updated

Last updated 25 August 2025

Other sources

LibreOffice before versions 5.4.6.1 and 6.0.2.1 has a missing bounds check in sw/source/filter/ww8/ww8toolbar.cxx:SwCTBWrapper::Read() allowing for an out of bounds write. An attacker could exploit this to cause a denial of service via crafted document.

External Reference:

https://www.libreoffice.org/about-us/security/advisories/cve-2018-10120/

Additional Reference:

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6173

Upstream Patches:

https://gerrit.libreoffice.org/gitweb?p=core.git;a=commit;h=017fcc2fcd00af17a97bd5463d89662404f57667 https://gerrit.libreoffice.org/#/c/49486/ https://gerrit.libreoffice.org/#/c/49499/ https://gerrit.libreoffice.org/#/c/49500/

Red Hat

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.

Launchpad

Affected Software

13 affected componentsFixes available
redhat/libreoffice<5.4.6.1
5.4.6.1
redhat/libreoffice<6.0.2.1
6.0.2.1
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
LibreOffice Libreoffice<5.4.6.1
LibreOffice Libreoffice>=6.0.0<6.0.2.1
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Workstation=7.0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
debian/libreoffice
1:7.0.4-4+deb11u101:7.0.4-4+deb11u134:7.4.7-1+deb12u104:7.4.7-1+deb12u84:25.2.3-2+deb13u34:26.2.0-14:26.2.1-1

Event History

Apr 15, 2018
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description
Apr 16, 2018
Data Sourced
via NVD·09:58 AM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 20, 2026
Data Sourced
via Ubuntu·03:47 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·03:48 PM
Description
Feb 26, 2026
Data Sourced
via Debian·03:52 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID of this issue?

The vulnerability ID of this issue is CVE-2018-10120.

2

What is the severity rating of CVE-2018-10120?

CVE-2018-10120 has a severity rating of 7.8 (High).

3

Which software versions are affected by CVE-2018-10120?

CVE-2018-10120 affects LibreOffice versions before 5.4.6.1 and 6.x before 6.0.2.1.

4

How can CVE-2018-10120 be exploited?

CVE-2018-10120 can be exploited by remote attackers to cause a denial of service (heap-based buffer overflow with write access) or possibly have unspecified impacts.

5

Are there any remedies available?

Remedies are available for CVE-2018-10120, with specific version updates provided by Red Hat, Ubuntu, Debian, and LibreOffice.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203