cve.bz

CVE-2018-10120 Improper Validation of Array Index

7.8 highEPSS 2.1%Fix available

High (7.8). EPSS 2.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.8 high
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
2.1% (unchanged from 2.1% a week ago; 2.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-129 Improper Validation of Array Index
CWE-787 Out-of-bounds Write
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-10120 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-10120?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-10120?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-10120 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
debian:debian_linux7.0
debian:debian_linux8.0
debian:debian_linux9.0
libreoffice:libreofficebefore 5.4.6.1
libreoffice:libreofficefrom 6.0.0 before 6.0.2.1
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_workstation7.0
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7libreoffice1:3.5.4+dfsg2-0+deb7u11DLA-1356-1
Debian8libreoffice1:4.3.3-2+deb8u11DSA-4178-1
Debian9libreoffice1:5.2.7-1+deb9u4DSA-4178-1
Debian12, 13, 14libreoffice1:6.0.2-1DEBIAN-CVE-2018-10120
Ubuntu14.04:LTSlibreoffice1:4.2.8-0ubuntu5.5UBUNTU-CVE-2018-10120 USN-3883-1
Ubuntu16.04:LTSlibreoffice1:5.1.6~rc2-0ubuntu1~xenial6UBUNTU-CVE-2018-10120 USN-3883-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationautocorr-af, autocorr-bg, autocorr-ca and 179 more1:5.3.6.1-19.el7RHSA-2018:3054
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Software Development Kit 12 SP3, Linux Enterprise Workstation Extension 12 SP3libreoffice6.0.4.2-43.33.1SUSE-SU-2018:1296-1
openSUSETumbleweedlibreoffice7.1.5.2-3.13openSUSE-SU-2024:10983-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7libreoffice-1:5.3.6.1-19.el7Fixed 2018-10-30RHSA-2018:3054
Red Hat Enterprise Linux 6libreofficeWill not fix
Red Hat Enterprise Linux 8libreofficeNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-10120.

Attack patterns (CAPEC)

  • CAPEC-100 Overflow Buffers Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON