PyPA Advisory Database
PYSEC-2019-41
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | psutil | All versions before 5.6.6 (fixed in 5.6.6) |
References
- https://github.com/giampaolo/psutil/pull/1616
- https://lists.debian.org/debian-lts-announce/2019/11/msg00018.html
- https://usn.ubuntu.com/4204-1/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/2P7QI7MOTZTFXQYU23CP3RAWXCERMOAS/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/OLETTJYZL2SMBUI4Q2NGBMGPDPP54SRG/
- https://github.com/advisories/GHSA-qfc5-mcwq-26q8