CVE-2019-18874
HIGH 7.5CVSS 3.1Double Free in psutil
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.
- Published
- 12 Nov 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-415
- Also known as
- GHSA-qfc5-mcwq-26q8PYSEC-2019-41
- Sources
- NVDJSONOSV GHSA-qfc5-mcwq-26q8JSONOSV PYSEC-2019-41JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | psutil_project | psutilcpe:2.3:a:psutil_project:psutil:*:*:*:*:*:*:*:* |
<= 5.6.5 | |
| OSV | PyPI | psutil | < 5.6.6 | 5.6.6 |
References
- https://github.com/giampaolo/psutil/pull/1616 · Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2019/11/msg00018.html · WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2P7QI7MOTZTFXQYU23CP3RAWXCERMOAS/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OLETTJYZL2SMBUI4Q2NGBMGPDPP54SRG/
- https://usn.ubuntu.com/4204-1/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-18874 · ADVISORY
- https://github.com/giampaolo/psutil/commit/7d512c8e4442a896d56505be3e78f1156f443465 · WEB
- https://github.com/advisories/GHSA-qfc5-mcwq-26q8 · ADVISORY
- https://github.com/giampaolo/psutil · PACKAGE
- https://github.com/giampaolo/psutil/blob/master/HISTORY.rst#566 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/psutil/PYSEC-2019-41.yaml · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2P7QI7MOTZTFXQYU23CP3RAWXCERMOAS · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OLETTJYZL2SMBUI4Q2NGBMGPDPP54SRG · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 12 Nov 2019)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 12 Nov 2019)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 12 Mar 2020)