# CVE-2020-27351: python3-apt: Various memory and file descriptor leaks were found in apt-python files python/arfile.cc, python/tag.cc, python/tarfi...

CVE-2020-27351 is fixed in 3 products on 1 platform, first by python-apt 1.6.5ubuntu0.4, released December 8, 2020. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2020-27351
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0040
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 8, 2020

## 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;

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | python-apt Ubuntu 18.04.6 LTS (bionic) | 1.6.5ubuntu0.4 | [python-apt 1.6.5ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-apt-1.6.5ubuntu0.4.md) | Dec 8, 2020 |
| Linux | python-apt Ubuntu 20.04 LTS (focal) | 2.0.0ubuntu0.20.04.2 | [python-apt 2.0.0ubuntu0.20.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python-apt-2.0.0ubuntu0.20.04.2.md) | Dec 8, 2020 |
| Linux | python-apt-common Ubuntu 18.04.6 LTS (bionic) | 1.6.5ubuntu0.4 | [python-apt-common 1.6.5ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-apt-common-1.6.5ubuntu0.4.md) | Dec 8, 2020 |
| Linux | python-apt-common Ubuntu 20.04 LTS (focal) | 2.0.0ubuntu0.20.04.2 | [python-apt-common 2.0.0ubuntu0.20.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python-apt-common-2.0.0ubuntu0.20.04.2.md) | Dec 8, 2020 |
| Linux | python3-apt Ubuntu 18.04.6 LTS (bionic) | 1.6.5ubuntu0.4 | [python3-apt 1.6.5ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python3-apt-1.6.5ubuntu0.4.md) | Dec 8, 2020 |
| Linux | python3-apt Ubuntu 20.04 LTS (focal) | 2.0.0ubuntu0.20.04.2 | [python3-apt 2.0.0ubuntu0.20.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-apt-2.0.0ubuntu0.20.04.2.md) | Dec 8, 2020 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
