VDB
CVE-2019-18874
CVE-2019-18874
PUBLISHED
CVSS 7.5 HIGH
Double Free in psutil
Reported by mitre · Published November 12, 2019
psutil is fixed in 5.6.6 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| psutil | PyPI | 5.6.6 |
| py3-psutil | Alpine | 5.6.7-r0 |
| py-psutil | Alpine | 5.6.3-r1, 5.5.0-r1, 5.4.6-r1 |
| python-psutil | Ubuntu:18.04:LTS | 5.4.2-1ubuntu0.1 |
| python-psutil | Ubuntu:16.04:LTS | 3.4.2-1ubuntu0.1 |
Risk scores
CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| PyPI | psutil | 0 |
| alpine | py3-psutil | 0 |
| alpine | py-psutil | 0, 0, 0 |
| n/a | n/a | * |
Timeline
- Nov 12, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Oct 6, 2021 PoC Published (9 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 6, 2026 Distribution Patch
- Mar 6, 2026 Security Advisory (2 in total, the first dated here)
- Sep 12, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-18874
vulnetix vdb fixes CVE-2019-18874
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-18874/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- [debian-lts-announce] 20191118 [SECURITY] [DLA 1998-1] python-psutil security update mailing-listx_refsource_MLIST
- USN-4204-1 vendor-advisoryx_refsource_UBUNTU
- FEDORA-2020-a06ebafad8 vendor-advisoryx_refsource_FEDORA
- FEDORA-2020-021fb887ac vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2019-18874 advisory
- https://github.com/advisories/GHSA-qfc5-mcwq-26q8 advisory
- https://github.com/giampaolo/psutil/commit/7d512c8e4442a896d56505be3e78f1156f443465 patch
- https://github.com/giampaolo/psutil url
- https://github.com/giampaolo/psutil/blob/master/HISTORY.rst#566 url
- https://github.com/pypa/advisory-database/tree/main/vulns/psutil/PYSEC-2019-41.yaml advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2P7QI7MOTZTFXQYU23CP3RAWXCERMOAS url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OLETTJYZL2SMBUI4Q2NGBMGPDPP54SRG url
- https://usn.ubuntu.com/4204-1 url