---
title: 'USN-4204-1: psutil 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-4204-1
---

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

---

# USN-4204-1: psutil vulnerability

Publication date

28 November 2019

Overview

psutil could be made to crash or run programs.

Releases

[19.10](https://ubuntu.com/security/notices?release=eoan)
[19.04](https://ubuntu.com/security/notices?release=disco)
[18.04 LTS](https://ubuntu.com/security/notices?release=bionic)
[16.04 LTS](https://ubuntu.com/security/notices?release=xenial)

---

Open side navigation

## Packages

* [python-psutil](https://ubuntu.com/security/cves?package=python-psutil) - module providing convenience functions for managing processes

## Details

Riccardo Schirone discovered that psutil incorrectly handled certain
reference counting operations. An attacker could use this issue to cause
psutil to crash, resulting in 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 |
| --- | --- |
| 19.10 eoan | [python-psutil](https://launchpad.net/ubuntu/+source/python-psutil) –  [5.5.1-1ubuntu0.19.10.1](https://launchpad.net/ubuntu/+source/python-psutil/5.5.1-1ubuntu0.19.10.1) | | |
| [python3-psutil](https://launchpad.net/ubuntu/+source/python-psutil) –  [5.5.1-1ubuntu0.19.10.1](https://launchpad.net/ubuntu/+source/python-psutil/5.5.1-1ubuntu0.19.10.1) | | |
| 19.04 disco | [python-psutil](https://launchpad.net/ubuntu/+source/python-psutil) –  [5.5.1-1ubuntu0.19.04.1](https://launchpad.net/ubuntu/+source/python-psutil/5.5.1-1ubuntu0.19.04.1) | | |
| [python3-psutil](https://launchpad.net/ubuntu/+source/python-psutil) –  [5.5.1-1ubuntu0.19.04.1](https://launchpad.net/ubuntu/+source/python-psutil/5.5.1-1ubuntu0.19.04.1) | | |
| 18.04 LTS bionic | [python-psutil](https://launchpad.net/ubuntu/+source/python-psutil) –  [5.4.2-1ubuntu0.1](https://launchpad.net/ubuntu/+source/python-psutil/5.4.2-1ubuntu0.1) | | |
| [python3-psutil](https://launchpad.net/ubuntu/+source/python-psutil) –  [5.4.2-1ubuntu0.1](https://launchpad.net/ubuntu/+source/python-psutil/5.4.2-1ubuntu0.1) | | |
| 16.04 LTS xenial | [python-psutil](https://launchpad.net/ubuntu/+source/python-psutil) –  [3.4.2-1ubuntu0.1](https://launchpad.net/ubuntu/+source/python-psutil/3.4.2-1ubuntu0.1) | | |
| [python3-psutil](https://launchpad.net/ubuntu/+source/python-psutil) –  [3.4.2-1ubuntu0.1](https://launchpad.net/ubuntu/+source/python-psutil/3.4.2-1ubuntu0.1) | | |

---

### 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-18874](https://ubuntu.com/security/CVE-2019-18874)
