Description
LibreOffice before 2017-01-02 has an out-of-bounds write caused by a heap-based buffer overflow related to the tools::Polygon::Insert function in tools/source/generic/poly.cxx.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libreoffice | 1:5.2.5-1 | — |
| Debian 13 | libreoffice | 1:5.2.5-1 | — |
| Debian 12 | libreoffice | 1:5.2.5-1 | — |
| Debian 8 | libreoffice | 1:4.3.3-2+deb8u7 | DSA-3837-1 |
| Debian 7 | libreoffice | 1:3.5.4+dfsg2-0+deb7u9 | DLA-910-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | libreoffice | 1:5.1.6~rc2-0ubuntu1~xenial2 | USN-3273-1 |
| Ubuntu 14.04 LTS | libreoffice | 1:4.2.8-0ubuntu5.1 | USN-3273-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | autocorr-af +130 | 1:5.0.6.2-14.el7 | RHSA-2017:1975 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | libixion | 0.12.1-13.2.1 | SUSE-SU-2017:2315-1 |
| SLES 12 SP3 | libmwaw | 0.3.11-7.5.1 | SUSE-SU-2017:2315-1 |
| SLES 12 SP3 | liborcus | 0.12.1-10.5.1 | SUSE-SU-2017:2315-1 |
| SLES 12 SP3 | libreoffice | 5.3.5.2-43.5.4 | SUSE-SU-2017:2315-1 |
| SLES 12 SP3 | libstaroffice | 0.0.3-4.1 | SUSE-SU-2017:2315-1 |
| SLES 12 SP3 | libzmf | 0.0.1-4.1 | SUSE-SU-2017:2315-1 |
| SLES 12 SP3 | myspell-dictionaries | 20170511-16.2.1 | SUSE-SU-2017:2315-1 |
| SLES 12 SP2 | libixion +1 | 0.12.1-12.1 | SUSE-SU-2017:1821-1 |
| SLES 12 SP2 | libmwaw | 0.3.11-9.1 | SUSE-SU-2017:1821-1 |
| SLES 12 SP2 | libreoffice | 5.3.3.2-40.5.9 | SUSE-SU-2017:1821-1 |
| SLES 12 SP2 | libstaroffice | 0.0.3-2.1 | SUSE-SU-2017:1821-1 |
| SLES 12 SP2 | libzmf | 0.0.1-2.1 | SUSE-SU-2017:1821-1 |
| SLES 12 SP2 | myspell-dictionaries | 20170511-15.1 | SUSE-SU-2017:1821-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libreoffice | 7.1.5.2-3.13 | openSUSE-SU-2024:10983-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.5 | libreoffice | 5.2.7.2-r0 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | autocorr-af +130 | 1:5.0.6.2-14.0.1.el7 | ELSA-2017-1975 |
Advisories 8
- RHSA-2017:1975 Red Hat Security Advisory: libreoffice security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-3273-1 libreoffice vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-910-1 libreoffice - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3837-1 libreoffice - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2017:2315-1 Security update for libreoffice SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10983-1 libreoffice-7.1.5.2-3.13 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1821-1 Security update for libreoffice SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2017-1975 Moderate: libreoffice security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Aug 7, 2017
References
- DSA-3837 vendor-advisory
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=372
- 97671 vdb-entry
- RHSA-2017:1975 vendor-advisory
- https://github.com/LibreOffice/core/commit/62a97e6a561ce65e88d4c537a1b82c336f012722
- 1039029 vdb-entry
- http://www.libreoffice.org/about-us/security/advisories/cve-2017-7870/
- GLSA-201706-28 vendor-advisory