Live threats

All CVEs / Psutil Project

CVE-2019-18874Psutil Project Psutil

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
3.5%
probability of exploitation in 30 days · percentile 90
Auth required
No
Published
Nov 12, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-415
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Psutil.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI psutil < 5.6.6 5.6.6 pip install "psutil>=5.6.6"
PyPI psutil < 5.6.6 5.6.6 pip install "psutil>=5.6.6"

Per OSV / GitHub Advisories (GHSA-qfc5-mcwq-26q8, PYSEC-2019-41). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
psutil_projectpsutil≤ 5.6.5

Official sources

References

Links published by the sources. Open them with care.