{"api_version":"1","generated_at":"2026-04-22T20:52:18+00:00","cve":"CVE-2019-18874","urls":{"html":"https://cve.report/CVE-2019-18874","api":"https://cve.report/api/cve/CVE-2019-18874.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-18874","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-18874"},"summary":{"title":"CVE-2019-18874","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2019-11-12 02:15:00","updated_at":"2023-11-07 03:07:00"},"problem_types":["CWE-415"],"metrics":[],"references":[{"url":"https://github.com/giampaolo/psutil/pull/1616","name":"https://github.com/giampaolo/psutil/pull/1616","refsource":"MISC","tags":["Third Party Advisory"],"title":"Use Py_CLEAR instead of Py_DECREF to also set the variable to NULL by ret2libc · Pull Request #1616 · giampaolo/psutil · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2P7QI7MOTZTFXQYU23CP3RAWXCERMOAS/","name":"FEDORA-2020-a06ebafad8","refsource":"","tags":[],"title":"[SECURITY] Fedora 30 Update: python-psutil-5.6.7-1.fc30 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2P7QI7MOTZTFXQYU23CP3RAWXCERMOAS/","name":"FEDORA-2020-a06ebafad8","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 30 Update: python-psutil-5.6.7-1.fc30 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2019/11/msg00018.html","name":"[debian-lts-announce] 20191118 [SECURITY] [DLA 1998-1] python-psutil security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 1998-1] python-psutil security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OLETTJYZL2SMBUI4Q2NGBMGPDPP54SRG/","name":"FEDORA-2020-021fb887ac","refsource":"","tags":[],"title":"[SECURITY] Fedora 31 Update: python-psutil-5.6.7-1.fc31 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OLETTJYZL2SMBUI4Q2NGBMGPDPP54SRG/","name":"FEDORA-2020-021fb887ac","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 31 Update: python-psutil-5.6.7-1.fc31 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://usn.ubuntu.com/4204-1/","name":"USN-4204-1","refsource":"UBUNTU","tags":[],"title":"USN-4204-1: psutil vulnerability | Ubuntu security notices | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-18874","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-18874","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2019","cve_id":"18874","vulnerable":"1","versionEndIncluding":"5.6.5","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"psutil_project","cpe5":"psutil","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2019-18874","qid":"159467","title":"Oracle Enterprise Linux Security Update for python38:3.8 and python38-devel:3.8 (ELSA-2021-4162)"},{"cve":"CVE-2019-18874","qid":"159488","title":"Oracle Enterprise Linux Security Update for python-psutil (ELSA-2021-4324)"},{"cve":"CVE-2019-18874","qid":"239228","title":"Red Hat Update for Satellite 6.9 (RHSA-2021:1313)"},{"cve":"CVE-2019-18874","qid":"239796","title":"Red Hat Update for python-psutil (RHSA-2021:4324)"},{"cve":"CVE-2019-18874","qid":"239845","title":"Red Hat Update for python38:3.8 and python38-devel:3.8 (RHSA-2021:4162)"},{"cve":"CVE-2019-18874","qid":"296076","title":"Oracle Solaris 11.4 Support Repository Update (SRU) 19.3.0 Missing (CPUJAN2020)"},{"cve":"CVE-2019-18874","qid":"501365","title":"Alpine Linux Security Update for py3-psutil"},{"cve":"CVE-2019-18874","qid":"900130","title":"CBL-Mariner Linux Security Update for python-psutil 5.6.3"},{"cve":"CVE-2019-18874","qid":"901698","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for python-psutil (6810-1)"},{"cve":"CVE-2019-18874","qid":"903056","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for python-psutil (4684)"},{"cve":"CVE-2019-18874","qid":"940326","title":"AlmaLinux Security Update for python-psutil (ALSA-2021:4324)"},{"cve":"CVE-2019-18874","qid":"940526","title":"AlmaLinux Security Update for python38:3.8 and python38-devel:3.8 (ALSA-2021:4162)"},{"cve":"CVE-2019-18874","qid":"960222","title":"Rocky Linux Security Update for python-psutil (RLSA-2021:4324)"},{"cve":"CVE-2019-18874","qid":"960342","title":"Rocky Linux Security Update for python38:3.8 and python38-devel:3.8 (RLSA-2021:4162)"},{"cve":"CVE-2019-18874","qid":"981575","title":"Python (pip) Security Update for psutil (GHSA-qfc5-mcwq-26q8)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-18874","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://github.com/giampaolo/psutil/pull/1616","refsource":"MISC","name":"https://github.com/giampaolo/psutil/pull/1616"},{"refsource":"MLIST","name":"[debian-lts-announce] 20191118 [SECURITY] [DLA 1998-1] python-psutil security update","url":"https://lists.debian.org/debian-lts-announce/2019/11/msg00018.html"},{"refsource":"UBUNTU","name":"USN-4204-1","url":"https://usn.ubuntu.com/4204-1/"},{"refsource":"FEDORA","name":"FEDORA-2020-a06ebafad8","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2P7QI7MOTZTFXQYU23CP3RAWXCERMOAS/"},{"refsource":"FEDORA","name":"FEDORA-2020-021fb887ac","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OLETTJYZL2SMBUI4Q2NGBMGPDPP54SRG/"}]}},"nvd":{"publishedDate":"2019-11-12 02:15:00","lastModifiedDate":"2023-11-07 03:07:00","problem_types":["CWE-415"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:psutil_project:psutil:*:*:*:*:*:*:*:*","versionEndIncluding":"5.6.5","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2019","CveId":"18874","Ordinal":"160440","Title":"CVE-2019-18874","CVE":"CVE-2019-18874","Year":"2019"},"notes":[{"CveYear":"2019","CveId":"18874","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2019","CveId":"18874","Ordinal":"2","NoteData":"2019-11-11","Type":"Other","Title":"Published"},{"CveYear":"2019","CveId":"18874","Ordinal":"3","NoteData":"2020-03-11","Type":"Other","Title":"Modified"}]}}}