# CVE-2017-3157: By exploiting the way Apache OpenOffice before 4.1.4 renders embedded objects, an attacker could craft a document that…

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.0, NVD) `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 3.12% (percentile 89, 2026-11-26)
- **CWE:** CWE-200
- **Published:** 2017-11-20T20:00:00.000Z
- **Modified:** 2026-06-17T01:17:38.227Z

## Who should check

- Anyone running Apache Software Foundation Apache OpenOffice 4.0.0 to 4.1.3, and some previous releases, including some using our old OpenOffice.org brand

## Description

By exploiting the way Apache OpenOffice before 4.1.4 renders embedded objects, an attacker could craft a document that allows reading in a file from the user's filesystem. Information could be retrieved by the attacker by, e.g., using hidden sections to store the information, tricking the user into saving the document and convincing the user to send the document back to the attacker. The vulnerability is mitigated by the need for the attacker to know the precise file path in the target system, and the need to trick the user into saving the document and sending it back.

## Affected and fixed versions

- Apache Software Foundation Apache OpenOffice: 4.0.0 to 4.1.3, and some previous releases, including some using our old OpenOffice.org brand (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2017-3157. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2017-3157.md
Affected: Apache Software Foundation Apache OpenOffice 4.0.0 to 4.1.3, and some previous releases, including some using our old OpenOffice.org brand
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Apache Software Foundation Apache OpenOffice: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2017-3157 being exploited?

There is no confirmed exploitation: CVE-2017-3157 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 3.12% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2017-3157?

Medium: CVSS 5.5 (v3.0, scored by NVD). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2017-3157?

Apache Software Foundation Apache OpenOffice 4.0.0 to 4.1.3, and some previous releases, including some using our old OpenOffice.org brand.

### Is there a fix for CVE-2017-3157?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2017-3157?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2017:0914>
- vendor: <https://www.debian.org/security/2017/dsa-3792>
- vendor: <https://access.redhat.com/errata/RHSA-2017:0979>
- vendor: <https://www.openoffice.org/security/cves/CVE-2017-3157.html>
- other: <http://www.securitytracker.com/id/1037893>
- other: <http://www.securityfocus.com/bid/96402>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2017-3157>

HTML: <https://flawdb.com/CVE-2017-3157> · JSON: <https://flawdb.com/api/v1/entries/CVE-2017-3157>
