LibreOffice before 2017-01-02 has an out-of-bounds write caused by a heap-based buffer…
Priority MEDIUM 49CWE-787Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 5 fixed, 1 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
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.
Why it matters now
EPSS 0.03864 90th percentileScored 2026-11-07
Fix Partial Red Hat: 1 advisoryRed Hat: 5 fixed, 1 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:libreoffice:libreoffice:*:beta2:*:*:*:*:*:* | up to 5.3.0.0 | Vulnerable | The Document Foundation |
- cpe:2.3:a:libreoffice:libreoffice:*:beta2:*:*:*:*:*:* Versions up to 5.3.0.0 Vulnerable ·The Document Foundation
Remediation
Red Hat 1 advisory
- RHSA-2017:1975 Released 2017-08-01 · Red Hat rating Moderatelibreoffice security and bug fix update
- Red Hat Enterprise Linux Client (v. 7) autocorr-af-1:5.0.6.2-14.el7, autocorr-bg-1:5.0.6.2-14.el7, autocorr-ca-1:5.0.6.2-14.el7 +47
- Red Hat Enterprise Linux Client Optional (v. 7) libreoffice-1:5.0.6.2-14.el7, libreoffice-bsh-1:5.0.6.2-14.el7, libreoffice-filters-1:5.0.6.2-14.el7 +12
- Red Hat Enterprise Linux Server Optional (v. 7) autocorr-af-1:5.0.6.2-14.el7, autocorr-bg-1:5.0.6.2-14.el7, autocorr-ca-1:5.0.6.2-14.el7 +47
- Red Hat Enterprise Linux Workstation (v. 7) autocorr-af-1:5.0.6.2-14.el7, autocorr-bg-1:5.0.6.2-14.el7, autocorr-ca-1:5.0.6.2-14.el7 +47
- Red Hat Enterprise Linux Workstation Optional (v. 7) libreoffice-1:5.0.6.2-14.el7, libreoffice-bsh-1:5.0.6.2-14.el7, libreoffice-filters-1:5.0.6.2-14.el7 +12
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2017:1975 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2017:1975 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2017:1975 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2017:1975 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2017:1975 |
Timeline
- 2026-10-02 Threatist record created from CVE-2017-7870
- 2026-10-03 Alias added: GHSA-fpwp-hqx7-wxhv
- 2026-10-14 EPSS moved to the 90th–95th percentile
References
More The Document Foundation Libreoffice vulnerabilities
- TI-2019-07233 LibreLogo global-event script execution CVSS 3.1CRITICAL 9.8
- TI-2018-12068 Path traversal in [UNKNOWN] libreoffice CVSS 3.0CRITICAL 9.8
- TI-2018-07474 An information disclosure vulnerability occurs when LibreOffice 6.0.3 and Apache… CVSS 3.0HIGH 7.5
- TI-2019-07230 Code injection in Document Foundation LibreOffice CVSS 3.1CRITICAL 9.8
- TI-2018-05018 LibreOffice before 5.4.5 and 6.x before 6.0.1 allows remote attackers to read arbitrary… CVSS 3.0CRITICAL 9.8
- TI-2023-01118 Arbitrary file write in libreoffice CVSS 3.1MEDIUM 5.5
Sources
- CVE-2017-7870 · CVE Program
- CVE-2017-7870 · NVD
- FIRST EPSS
- GHSA-fpwp-hqx7-wxhv · GitHub Advisory Database · CC BY 4.0
- CVE-2017-7870 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences