{"id":"CVE-2019-18874","aliases":["CVE-2019-18874","GHSA-qfc5-mcwq-26q8","PYSEC-2019-41"],"related":[],"kind":"vulnerability","state":"published","title":"Double Free in psutil","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"psutil (también se conoce como python-psutil) versiones hasta 5.6.5, puede presentar una doble liberación. Esto ocurre debido a un manejo inapropiado de refcount dentro de un bucle while o for que convierte datos del sistema en un objeto Python.","source":"nvd"}],"published":"2019-11-12T01:30:29.000Z","modified":"2026-06-17T02:25:30.920Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-415"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.6.6"}],"ecosystem":"PyPI","package":"psutil","purl":"pkg:pypi/psutil","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"5.6.5"}],"vendor":"psutil_project","product":"psutil","cpe":"cpe:2.3:a:psutil_project:psutil:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.6.6"}],"ecosystem":"PyPI","package":"psutil","purl":"pkg:pypi/psutil","source":"pysec"}],"references":[{"url":"https://github.com/giampaolo/psutil/pull/1616","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/11/msg00018.html","tags":["mailing-list","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://usn.ubuntu.com/4204-1/","tags":["vendor-advisory","web","x-refsource-ubuntu","x-transferred"],"sources":["cvelist","nvd","pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2P7QI7MOTZTFXQYU23CP3RAWXCERMOAS/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OLETTJYZL2SMBUI4Q2NGBMGPDPP54SRG/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-18874","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/giampaolo/psutil/commit/7d512c8e4442a896d56505be3e78f1156f443465","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-qfc5-mcwq-26q8","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/giampaolo/psutil","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/giampaolo/psutil/blob/master/HISTORY.rst#566","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/psutil/PYSEC-2019-41.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2P7QI7MOTZTFXQYU23CP3RAWXCERMOAS","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OLETTJYZL2SMBUI4Q2NGBMGPDPP54SRG","tags":["web"],"sources":["ghsa"]},{"url":"https://usn.ubuntu.com/4204-1","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2P7QI7MOTZTFXQYU23CP3RAWXCERMOAS/","tags":["web"],"sources":["pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OLETTJYZL2SMBUI4Q2NGBMGPDPP54SRG/","tags":["web"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-18874","url":"https://www.cve.org/CVERecord?id=CVE-2019-18874","licence":"CVE Terms of Use","modified":"2024-08-05T02:02:39.894Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qfc5-mcwq-26q8","url":"https://github.com/advisories/GHSA-qfc5-mcwq-26q8","licence":"CC-BY-4.0","modified":"2024-10-21T21:25:46.489Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-18874","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-18874","licence":"Public domain","modified":"2026-06-17T02:25:30.920Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2019-41","url":"https://osv.dev/vulnerability/PYSEC-2019-41","licence":"CC-BY-4.0","modified":"2023-11-08T04:01:26.639Z"}],"updatedAt":"2026-11-25T22:57:47.881Z","epss":{"score":0.03522,"percentile":0.89532,"date":"2026-12-01T12:00:22.000Z"}}