# CVE-2020-27351: Various memory and file descriptor leaks in apt-python

- Severity: Low 2.0 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 35% of CVEs (2026-12-01)
- Published: 2020-12-10T04:05:18.897Z
- Modified: 2026-06-17T03:09:09.857Z
- Weaknesses: CWE-772
- Assigned by: canonical

## Description

Various memory and file descriptor leaks were found in apt-python files python/arfile.cc, python/tag.cc, python/tarfile.cc, aka GHSL-2020-170. This issue affects: python-apt 1.1.0~beta1 versions prior to 1.1.0~beta1ubuntu0.16.04.10; 1.6.5ubuntu0 versions prior to 1.6.5ubuntu0.4; 2.0.0ubuntu0 versions prior to 2.0.0ubuntu0.20.04.2; 2.1.3ubuntu1 versions prior to 2.1.3ubuntu1.1;

(As written by CVE List.)

## Affected

- Canonical python-apt: from 1.1.0~beta1 before 1.1.0~beta1ubuntu0.16.04.10; from 1.6.5ubuntu0 before 1.6.5ubuntu0.4; from 2.0.0ubuntu0 before 2.0.0ubuntu0.20.04.2; from 2.1.3ubuntu1 before 2.1.3ubuntu1.1
- debian advanced_package_tool: from 1.1.0\~beta1 before 1.1.0\~beta1ubuntu0.16.04.10; from 1.6.5ubuntu0 before 1.6.5ubuntu0.4; from 2.0.0ubuntu0 before 2.0.0ubuntu0.20.04.2; from 2.1.3ubuntu1 before 2.1.30ubuntu1.1; before 1.8.4.2

## Every score

- canonical: CVSS:3.1 2.0 Low `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 2.8 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://bugs.launchpad.net/bugs/1899193> (broken-link)
- <https://usn.ubuntu.com/usn/usn-4668-1> (vendor-advisory)
- <https://www.debian.org/security/2020/dsa-4809> (vendor-advisory)

## Sources

- CVE List: [CVE-2020-27351](https://www.cve.org/CVERecord?id=CVE-2020-27351), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2020-27351](https://nvd.nist.gov/vuln/detail/CVE-2020-27351), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-27351 · Whole record: https://cve.day/CVE-2020-27351.json · Rebuilt by cve.day 2026-11-25T22:57:56.143Z
