---
title: "CVE-2017-3157\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2017-3157?format=md
keywords: index, follow
---

# CVE-2017-3157

Publication date 22 February 2017

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**5.5 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2017-3157?format=md#impact-score)

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libreoffice | 16.10 yakkety | Not affected |
| 16.04 LTS xenial | Fixed 1:5.1.6~rc2-0ubuntu1~xenial1 |
| 14.04 LTS trusty | Fixed 1:4.2.8-0ubuntu5 |
| 12.04 LTS precise | Fixed 1:3.5.7-0ubuntu13 |
| openoffice.org | 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| 12.04 LTS precise | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

5.5 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | None |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 5.5 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3157)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2017-3157)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2017-3157)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2017-3157)

### Related Ubuntu Security Notices (USN)

+ [USN-3210-1](https://usn.ubuntu.com/USN-3210-1)
+ LibreOffice vulnerability
+ 23 February 2017

### Other references

* <https://www.libreoffice.org/about-us/security/advisories/cve-2017-3157/>
* <https://www.cve.org/CVERecord?id=CVE-2017-3157>
