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

- Priority: **Routine**
- Reason: Not severe (CVSS 2, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2020-12-10 · Modified: 2024-09-16
- Aliases: UBUNTU-CVE-2020-27351, USN-4668-1, USN-4668-4, DEBIAN-CVE-2020-27351, DLA-2488-1, DSA-4809-1
- Record: https://cvemate.com/vulnerability/CVE-2020-27351 · JSON: https://cvemate.com/vulnerability/CVE-2020-27351/json

## Description

```text
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;
```

## Signals

- CVSS: 2.8 low (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
- EPSS: 0.395%, percentile 35.786%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- canonical python-apt: ≥ 1.1.0~beta1, \< 1.1.0~beta1ubuntu0.16.04.10 \| ≥ 1.6.5ubuntu0, \< 1.6.5ubuntu0.4 \| ≥ 2.0.0ubuntu0, \< 2.0.0ubuntu0.20.04.2 \| ≥ 2.1.3ubuntu1, \< 2.1.3ubuntu1.1
- debian python-apt (Debian): \< 2.1.7 \| \< 1.4.2 \| \< 1.8.4.2
- ubuntu python-apt (Ubuntu): \< 0.9.3.5ubuntu3+esm4 \| \< 1.1.0~beta1ubuntu0.16.04.10 \| \< 1.6.5ubuntu0.4 \| \< 2.0.0ubuntu0.20.04.2
- debian advanced\_package\_tool: ≥ 1.1.0\\~beta1, \< 1.1.0\\~beta1ubuntu0.16.04.10 \| ≥ 1.6.5ubuntu0, \< 1.6.5ubuntu0.4 \| ≥ 2.0.0ubuntu0, \< 2.0.0ubuntu0.20.04.2 \| ≥ 2.1.3ubuntu1, \< 2.1.30ubuntu1.1 \| \< 1.8.4.2

## References

- <https://bugs.launchpad.net/bugs/1899193>
- <https://usn.ubuntu.com/usn/usn-4668-1>
- <https://www.debian.org/security/2020/dsa-4809>
- <https://ubuntu.com/security/CVE-2020-27351>
- <https://ubuntu.com/security/notices/USN-4668-1>
- <https://ubuntu.com/security/notices/USN-4668-4>
- <https://www.cve.org/CVERecord?id=CVE-2020-27351>
- <https://security-tracker.debian.org/tracker/CVE-2020-27351>

---

Data as of 2026-12-05T02:36:51.329Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
