Skip to content
Fencer Vulns
high 7.8

CVE-2018-10120 json

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 valida…

published 2018-04-15 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-2199

cvss
7.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.1%
EPSS 2.1% chance of exploitation in 30 days, percentile 81%
public exploits
0
none known

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.

Patch / fix

  • libreoffice libreoffice 5.4.6.1, 6.0.2.1
  • libreoffice Debian 14, Debian 13, Debian 12 1:6.0.2-1

debian advisories DEBIAN-CVE-2018-10120

  • libreoffice Ubuntu 14.04 LTS 1:4.2.8-0ubuntu5.5
  • libreoffice Ubuntu 16.04 LTS 1:5.1.6~rc2-0ubuntu1~xenial6

ubuntu advisories UBUNTU-CVE-2018-10120

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libreoffice RHEL 7 1:5.3.6.1-19.el7
  • autocorr-af RHEL 7 1:5.3.6.1-19.el7
  • autocorr-bg RHEL 7 1:5.3.6.1-19.el7
  • autocorr-ca RHEL 7 1:5.3.6.1-19.el7
  • autocorr-cs RHEL 7 1:5.3.6.1-19.el7
  • autocorr-da RHEL 7 1:5.3.6.1-19.el7
  • autocorr-de RHEL 7 1:5.3.6.1-19.el7
  • autocorr-en RHEL 7 1:5.3.6.1-19.el7

red hat advisories RHSA-2018:3054

  • libreoffice SLED 12 SP3, SLE Workstation Extension 12 SP3, SLE Software Development Kit 12 SP3 6.0.4.2-43.33.1

suse advisories SUSE-SU-2018:1296-1

  • libreoffice openSUSE Tumbleweed 7.1.5.2-3.13

opensuse advisories openSUSE-SU-2024:10983-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-10120 updated cvss 6.1

libreoffice: Out of bounds write in filter/ww8/ww8toolbar.cxx:SwCTBWrapper class allows for denial of service with crafted document

  • Red Hat Enterprise Linux 6 autocorr-af, autocorr-bg, autocorr-ca, autocorr-cs, autocorr-da, autocorr-de, +60 more
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Client (v. 7) autocorr-af 5.3.6.1-19.el7, autocorr-bg 5.3.6.1-19.el7, autocorr-ca 5.3.6.1-19.el7, autocorr-cs 5.3.6.1-19.el7, autocorr-da 5.3.6.1-19.el7, autocorr-de 5.3.6.1-19.el7, +51 more Red Hat Enterprise Linux Client Optional (v. 7) libreoffice 5.3.6.1-19.el7, libreoffice-bsh 5.3.6.1-19.el7, libreoffice-sdk 5.3.6.1-19.el7, libreoffice-glade 5.3.6.1-19.el7, libreoffice-rhino 5.3.6.1-19.el7, libreoffice-help-ar 5.3.6.1-19.el7, +48 more Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) autocorr-af 5.3.6.1-19.el7, autocorr-bg 5.3.6.1-19.el7, autocorr-ca 5.3.6.1-19.el7, autocorr-cs 5.3.6.1-19.el7, autocorr-da 5.3.6.1-19.el7, autocorr-de 5.3.6.1-19.el7, +104 more Red Hat Enterprise Linux Server Optional (v. 7) autocorr-af 5.3.6.1-19.el7, autocorr-bg 5.3.6.1-19.el7, autocorr-ca 5.3.6.1-19.el7, autocorr-cs 5.3.6.1-19.el7, autocorr-da 5.3.6.1-19.el7, autocorr-de 5.3.6.1-19.el7, +104 more Red Hat Enterprise Linux Workstation (v. 7) autocorr-af 5.3.6.1-19.el7, autocorr-bg 5.3.6.1-19.el7, autocorr-ca 5.3.6.1-19.el7, autocorr-cs 5.3.6.1-19.el7, autocorr-da 5.3.6.1-19.el7, autocorr-de 5.3.6.1-19.el7, +51 more Red Hat Enterprise Linux Workstation Optional (v. 7) libreoffice 5.3.6.1-19.el7, libreoffice-bsh 5.3.6.1-19.el7, libreoffice-sdk 5.3.6.1-19.el7, libreoffice-glade 5.3.6.1-19.el7, libreoffice-rhino 5.3.6.1-19.el7, libreoffice-help-ar 5.3.6.1-19.el7, +48 more
    fixed: vendor fix RHSA-2018:3054
  • Red Hat Enterprise Linux 8 autocorr-af, autocorr-bg, autocorr-ca, autocorr-cs, autocorr-da, autocorr-de, +98 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.06% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.0 7.8 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-129 Improper Validation of Array Index
  • CWE-787 Out-of-bounds Write

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.