CVE-2017-7870 json
LibreOffice before 2017-01-02 has an out-of-bounds write caused by a heap-based buffer overflow related to the tools::Polygon::Insert funct…
published 2017-04-14 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-16845
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.9%
- EPSS 3.9% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- libreoffice Debian 14, Debian 13, Debian 12 1:5.2.5-1
debian advisories DEBIAN-CVE-2017-7870
- libreoffice Ubuntu 14.04 LTS 1:4.2.8-0ubuntu5.1
- libreoffice Ubuntu 16.04 LTS 1:5.1.6~rc2-0ubuntu1~xenial2
ubuntu advisories UBUNTU-CVE-2017-7870
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.0.6.2-14.el7
- autocorr-af RHEL 7 1:5.0.6.2-14.el7
- autocorr-bg RHEL 7 1:5.0.6.2-14.el7
- autocorr-ca RHEL 7 1:5.0.6.2-14.el7
- autocorr-cs RHEL 7 1:5.0.6.2-14.el7
- autocorr-da RHEL 7 1:5.0.6.2-14.el7
- autocorr-de RHEL 7 1:5.0.6.2-14.el7
- autocorr-en RHEL 7 1:5.0.6.2-14.el7
red hat advisories RHSA-2017:1975
- libreoffice SLED 12 SP3, SLE Workstation Extension 12 SP3, SLE Software Development Kit 12 SP3 5.3.5.2-43.5.4
- libzmf SLED 12 SP3, SLE Workstation Extension 12 SP3 0.0.1-4.1
- libmwaw SLED 12 SP3, SLE Workstation Extension 12 SP3, SLE Software Development Kit 12 SP3 0.3.11-7.5.1
- libixion SLED 12 SP3, SLE Workstation Extension 12 SP3, SLE Software Development Kit 12 SP3 0.12.1-13.2.1
- liborcus SLED 12 SP3, SLE Workstation Extension 12 SP3, SLE Software Development Kit 12 SP3 0.12.1-10.5.1
- libstaroffice SLED 12 SP3, SLE Workstation Extension 12 SP3 0.0.3-4.1
- myspell-dictionaries SLED 12 SP3, SLE Workstation Extension 12 SP3 20170511-16.2.1
- libreoffice SLED 12 SP2, SLE Workstation Extension 12 SP2, SLE Software Development Kit 12 SP2 5.3.3.2-40.5.9
suse advisories SUSE-SU-2017:2315-1SUSE-SU-2017:1821-1
- libreoffice openSUSE Tumbleweed 7.1.5.2-3.13
opensuse advisories openSUSE-SU-2024:10983-1
- libreoffice Alpine 3.5 5.2.7.2-r0
alpine advisories ALPINE-CVE-2017-7870
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
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-2017-7870 updated cvss 5.3
libreoffice: Heap-buffer-overflow in tools::Polygon::Insert
-
Red Hat Enterprise Linux 6 autocorr-af, autocorr-bg, autocorr-ca, autocorr-cs, autocorr-da, autocorr-de, +60 moreaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux Client (v. 7) autocorr-af 5.0.6.2-14.el7, autocorr-bg 5.0.6.2-14.el7, autocorr-ca 5.0.6.2-14.el7, autocorr-cs 5.0.6.2-14.el7, autocorr-da 5.0.6.2-14.el7, autocorr-de 5.0.6.2-14.el7, +44 more Red Hat Enterprise Linux Client Optional (v. 7) libreoffice 5.0.6.2-14.el7, libreofficekit 5.0.6.2-14.el7, libreoffice-bsh 5.0.6.2-14.el7, libreoffice-sdk 5.0.6.2-14.el7, libreoffice-glade 5.0.6.2-14.el7, libreoffice-rhino 5.0.6.2-14.el7, +7 more Red Hat Enterprise Linux Server Optional (v. 7) autocorr-af 5.0.6.2-14.el7, autocorr-bg 5.0.6.2-14.el7, autocorr-ca 5.0.6.2-14.el7, autocorr-cs 5.0.6.2-14.el7, autocorr-da 5.0.6.2-14.el7, autocorr-de 5.0.6.2-14.el7, +55 more Red Hat Enterprise Linux Workstation (v. 7) autocorr-af 5.0.6.2-14.el7, autocorr-bg 5.0.6.2-14.el7, autocorr-ca 5.0.6.2-14.el7, autocorr-cs 5.0.6.2-14.el7, autocorr-da 5.0.6.2-14.el7, autocorr-de 5.0.6.2-14.el7, +44 more Red Hat Enterprise Linux Workstation Optional (v. 7) libreoffice 5.0.6.2-14.el7, libreofficekit 5.0.6.2-14.el7, libreoffice-bsh 5.0.6.2-14.el7, libreoffice-sdk 5.0.6.2-14.el7, libreoffice-glade 5.0.6.2-14.el7, libreoffice-rhino 5.0.6.2-14.el7, +7 morefixed: vendor fix RHSA-2017:1975
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
3.86% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/LibreOffice/core/commit/62a97e6a561ce65e88d4c537a1b82c336f012722
patch, third-party-advisory
-
debian.org
/security/2017/dsa-3837
vendor-advisory
-
access.redhat.com
/errata/RHSA-2017:1975
vendor-advisory
-
security.gentoo.org
/glsa/201706-28
vendor-advisory
-
bugs.chromium.org
/p/oss-fuzz/issues/detail?id=372
third-party-advisory, vdb-entry
-
securityfocus.com
/bid/97671
vdb-entry, third-party-advisory
-
securitytracker.com
/id/1039029
vdb-entry
- libreoffice.org /about-us/security/advisories/cve-2017-7870/
Sources
- CVE List CVE-2017-7870
- NVD CVE-2017-7870
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.