---
title: 'USN-4172-2: file vulnerability | Ubuntu security notices'
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/notices/USN-4172-2
---

1. [Ubuntu Security Notices](https://ubuntu.com/security/notices)
2. USN-4172-2

---

# USN-4172-2: file vulnerability

Publication date

31 October 2019

Overview

file could be made to crash or run programs if it opened a specially
crafted file.

Releases

[14.04 LTS](https://ubuntu.com/security/notices?release=trusty)
[12.04](https://ubuntu.com/security/notices?release=precise)

---

Open side navigation

## Packages

* [file](https://ubuntu.com/security/cves?package=file) - Tool to determine file types

## Details

USN-4172-1 fixed a vulnerability in file. This update provides
the corresponding update for Ubuntu 12.04 ESM Ubuntu 14.04 ESM.

Original advisory details:

It was discovered that file incorrectly handled certain malformed files. An
attacker could use this issue to cause a denial of service, or possibly
execute arbitrary code.

## Update instructions

In general, a standard system update will make all the necessary changes.

[Learn more about how to get the fixes.](https://ubuntu.com/security/cves/about#security)

The problem can be corrected by updating your system to the following package versions:

| Ubuntu Release | Package Version |
| --- | --- |
| 14.04 LTS trusty | [libmagic1](https://launchpad.net/ubuntu/+source/file) –  [1:5.14-2ubuntu3.4+esm1](https://launchpad.net/ubuntu/+source/file/1:5.14-2ubuntu3.4+esm1) | | |
| [file](https://launchpad.net/ubuntu/+source/file) –  [1:5.14-2ubuntu3.4+esm1](https://launchpad.net/ubuntu/+source/file/1:5.14-2ubuntu3.4+esm1) | | |
| 12.04 precise | [libmagic1](https://launchpad.net/ubuntu/+source/file) –  [5.09-2ubuntu0.8](https://launchpad.net/ubuntu/+source/file/5.09-2ubuntu0.8) | | |
| [file](https://launchpad.net/ubuntu/+source/file) –  [5.09-2ubuntu0.8](https://launchpad.net/ubuntu/+source/file/5.09-2ubuntu0.8) | | |

---

### Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.

[Get Ubuntu Pro](https://ubuntu.com/pro)

## References

* [CVE-2019-18218](https://ubuntu.com/security/CVE-2019-18218)

## Related notices

* [USN-4172-1](https://ubuntu.com/security/notices/USN-4172-1)
