---
title: "CVE-2019-18874\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-2019-18874?format=md
keywords: index, follow
---

# CVE-2019-18874

Publication date 12 November 2019

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

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

## Cvss 3 Severity Score

**7.5 · High**

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

Toggle side navigation

## Description

psutil (aka python-psutil) through 5.6.5 can have a double free. This
occurs because of refcount mishandling within a while or for loop that
converts system data into a Python object.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| python-psutil | 19.10 eoan | Fixed 5.5.1-1ubuntu0.19.10.1 |
| 19.04 disco | Fixed 5.5.1-1ubuntu0.19.04.1 |
| 18.04 LTS bionic | Fixed 5.4.2-1ubuntu0.1 |
| 16.04 LTS xenial | Fixed 3.4.2-1ubuntu0.1 |
| 14.04 LTS trusty | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2019-18874?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| python-psutil | * Upstream:   [7d512c8](https://github.com/giampaolo/psutil/commit/7d512c8e4442a896d56505be3e78f1156f443465) * Upstream:   [3a9bccf](https://github.com/giampaolo/psutil/commit/3a9bccfd2c6d2e6538298cd3892058b1204056e0) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.5 · High

* Base metrics

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

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.5 · High |
  | Exploitability score | - |
  | Impact score | - |

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

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-4204-1](https://usn.ubuntu.com/USN-4204-1)
+ psutil vulnerability
+ 28 November 2019

### Other references

* <https://github.com/giampaolo/psutil/pull/1616>
* <https://github.com/giampaolo/psutil/pull/1624>
* <https://www.cve.org/CVERecord?id=CVE-2019-18874>
