CVE-2017-12607
High · 7.8CVSS
7.8
EPSS
2.6%
Published
Nov 20, 2017
CISA due date
—
Cloudanix analysis
A bug in how certain presentation files are read can let attackers crash the program or take control of a computer when someone opens a harmful file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw resides in the PPTStyleSheet component of the PPT file parser and triggers memory corruption when a specially crafted document is processed, resulting in application crashes or potential arbitrary code execution.
Why it matters to the business
Organizations using affected versions face risk of application downtime or full system compromise from malicious documents opened by users, though the vulnerability is years old with stable low exploitation probability and no known ransomware use.
How an attack unfolds
An attacker crafts a malicious PPT document that triggers the parser flaw upon opening; the victim opens the file locally, causing memory corruption that an attacker may leverage for code execution.
How to fix it
Upgrade affected installations to the fixed version identified by commit 59dd0b8fd07ebcb3f8d454c730b95b815400a4f7; verify the update resolves the parser issue before re-enabling PPT handling.
How to confirm the fix worked
Confirm the installed version matches or exceeds the fixed commit; test with known malicious PPT samples in an isolated environment to verify absence of crashes or corruption.
Typical attack path
- Attacker generates a malicious PPT document targeting the PPTStyleSheet parser
- Attacker delivers the document via email, download link, or shared storage
- Victim opens the document in the vulnerable application
- Memory corruption occurs, enabling denial of service or potential arbitrary code execution
How to detect it
Review application crash logs and error reports for memory corruption events tied to PPT file processing; correlate with user file access timestamps for suspicious documents.
What your security team should do
- Apply the fixed commit immediately across all instances
- Restrict opening of untrusted PPT files until patched
- Monitor for application crashes correlated with PPT document access
The record
A vulnerability in OpenOffice's PPT file parser before 4.1.4, and specifically in PPTStyleSheet, allows attackers to craft malicious documents that cause denial of service (memory corruption and application crash) potentially resulting in arbitrary code execution.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | libreoffice | 0 | 1:5.0.2-1 |
| Debian:12 | libreoffice | 0 | 1:5.0.2-1 |
| Debian:13 | libreoffice | 0 | 1:5.0.2-1 |
| Debian:7 | libreoffice | 0 | 1:3.5.4+dfsg2-0+deb7u10 |
| Debian:8 | libreoffice | 0 | 1:4.3.3-2+deb8u9 |
| Ubuntu:14.04:LTS | libreoffice | 0 | 1:4.2.8-0ubuntu5.2 |
| Ubuntu:16.04:LTS | libreoffice | 0 | 1:5.1.6~rc2-0ubuntu1~xenial2 |
Related vulnerabilities
- CVE-2024-12426 Exposure of Environmental Variables and arbitrary INI file values to an Unauthorized… Also affects libreoffice
- CVE-2024-12425 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')… Also affects libreoffice
- CVE-2024-7788 Improper Digital Signature Invalidation vulnerability in Zip Repair Mode of The Document… Also affects libreoffice
- CVE-2021-25636 LibreOffice supports digital signatures of ODF documents and macros within documents… Also affects libreoffice
- CVE-2021-25633 LibreOffice supports digital signatures of ODF documents and macros within documents… Also affects libreoffice
- CVE-2017-3157 By exploiting the way Apache OpenOffice before 4.1.4 renders embedded objects, an… Also affects libreoffice
- CVE-2016-10327 LibreOffice before 2016-12-22 has an out-of-bounds write caused by a heap-based buffer… Also affects libreoffice
- CVE-2016-4324 Use-after-free vulnerability in LibreOffice before 5.1.4 allows remote attackers to… Also affects libreoffice