CVE-2018-10119: Use After Free

Published Apr 15, 2018
·
Updated

Last updated 25 August 2025

Other sources

LibreOffice before versions 5.4.5.1 and 6.0.1.1 is vulnerable to an integer overflow resulting in a write to recently freed data in the StgSmallStrm class from sot/source/sdstor/stgstrms.cxx. An attacker could exploit this to cause a denial of service or other unspecified impact via a crafted document.

External Reference:

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

Additional Reference:

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

Upstream Patches:

https://gerrit.libreoffice.org/gitweb?p=core.git;a=commit;h=fdd41c995d1f719e92c6f083e780226114762f05 https://gerrit.libreoffice.org/#/c/48751/ https://gerrit.libreoffice.org/#/c/48756/ https://gerrit.libreoffice.org/#/c/48757/ https://gerrit.libreoffice.org/#/c/48758/

Red Hat

sot/source/sdstor/stgstrms.cxx in LibreOffice before 5.4.5.1 and 6.x before 6.0.1.1 uses an incorrect integer data type in the StgSmallStrm class, which allows remote attackers to cause a denial of service (use-after-free with write access) or possibly have unspecified other impact via a crafted document that uses the structured storage ole2 wrapper file format.

Launchpad

Affected Software

13 affected componentsFixes available
redhat/libreoffice<5.4.5.1
5.4.5.1
redhat/libreoffice<6.0.1.1
6.0.1.1
LibreOffice Libreoffice<5.4.5.1
LibreOffice Libreoffice>=6.0.0<6.0.1.1
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
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 27, 2026
Data Sourced
via Debian·03:54 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 CVE-2018-10119?

CVE-2018-10119 is a vulnerability in LibreOffice that allows remote attackers to cause a denial of service or potentially have other impacts.

2

How does CVE-2018-10119 affect LibreOffice?

CVE-2018-10119 affects versions of LibreOffice before 5.4.5.1 and 6.x before 6.0.1.1.

3

What is the severity of CVE-2018-10119?

CVE-2018-10119 has a severity rating of 7.8 (high).

4

How can I fix CVE-2018-10119?

To fix CVE-2018-10119, you should update your LibreOffice installation to version 5.4.5.1 or higher for versions before 6.0.1.1, and version 6.0.1.1 or higher for versions in the 6.x range.

5

Where can I find more information about CVE-2018-10119?

You can find more information about CVE-2018-10119 in the references provided: [RHSA-2018:3054](https://access.redhat.com/errata/RHSA-2018:3054), [oss-fuzz issue](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5747), [LibreOffice Gerrit change](https://gerrit.libreoffice.org/#/c/48751/).

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