# CVE-2017-7870

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 4% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2017-04-14 · Modified: 2024-08-05
- Aliases: RHSA-2017:1975, UBUNTU-CVE-2017-7870, DEBIAN-CVE-2017-7870, DSA-3837-1, ALPINE-CVE-2017-7870
- Record: https://cvemate.com/vulnerability/CVE-2017-7870 · JSON: https://cvemate.com/vulnerability/CVE-2017-7870/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 3.864%, percentile 90.5%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 136)

- alpine libreoffice (Alpine Linux): \< 5.2.7.2-r0
- debian libreoffice (Debian): \< 1:5.2.5-1 \| \< 1:4.3.3-2+deb8u7
- ubuntu libreoffice (Ubuntu): \< 1:4.2.8-0ubuntu5.1 \| \< 1:5.1.6~rc2-0ubuntu1~xenial2
- libreoffice libreoffice: ≤ 5.3.0.0
- redhat autocorr-af (Red Hat): \< 1:5.0.6.2-14.el7
- redhat autocorr-bg (Red Hat): \< 1:5.0.6.2-14.el7
- redhat autocorr-ca (Red Hat): \< 1:5.0.6.2-14.el7
- redhat autocorr-cs (Red Hat): \< 1:5.0.6.2-14.el7
- redhat autocorr-da (Red Hat): \< 1:5.0.6.2-14.el7
- redhat autocorr-de (Red Hat): \< 1:5.0.6.2-14.el7
- redhat autocorr-en (Red Hat): \< 1:5.0.6.2-14.el7
- redhat autocorr-es (Red Hat): \< 1:5.0.6.2-14.el7
- redhat autocorr-fa (Red Hat): \< 1:5.0.6.2-14.el7
- redhat autocorr-fi (Red Hat): \< 1:5.0.6.2-14.el7
- redhat autocorr-fr (Red Hat): \< 1:5.0.6.2-14.el7
- redhat autocorr-ga (Red Hat): \< 1:5.0.6.2-14.el7
- redhat autocorr-hr (Red Hat): \< 1:5.0.6.2-14.el7
- redhat autocorr-hu (Red Hat): \< 1:5.0.6.2-14.el7
- redhat autocorr-is (Red Hat): \< 1:5.0.6.2-14.el7
- redhat autocorr-it (Red Hat): \< 1:5.0.6.2-14.el7

## References (first 20 of 25)

- <http://www.debian.org/security/2017/dsa-3837>
- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=372>
- <http://www.securityfocus.com/bid/97671>
- <https://access.redhat.com/errata/RHSA-2017:1975>
- <https://github.com/LibreOffice/core/commit/62a97e6a561ce65e88d4c537a1b82c336f012722>
- <http://www.securitytracker.com/id/1039029>
- <http://www.libreoffice.org/about-us/security/advisories/cve-2017-7870/>
- <https://security.gentoo.org/glsa/201706-28>
- <https://access.redhat.com/security/updates/classification/#moderate>
- <https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/7.4_Release_Notes/index.html>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1397992>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1411327>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1421726>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1431539>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1444061>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1454598>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1454693>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2017/rhsa-2017_1975.json>
- <https://access.redhat.com/security/cve/CVE-2017-7870>
- <https://www.cve.org/CVERecord?id=CVE-2017-7870>

---

Data as of 2026-12-05T08:00:38.042Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
