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

Published Dec 10, 2020
·
Updated

Last updated 25 August 2025

Other sources

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;

Launchpad

Affected Software

21 affected componentsFixes available
Debian Advanced Package Tool>=1.1.0\~beta1<1.1.0\~beta1ubuntu0.16.04.10
Canonical Ubuntu Linux=16.04
Debian Advanced Package Tool>=1.6.5ubuntu0<1.6.5ubuntu0.4
Canonical Ubuntu Linux=18.04
Debian Advanced Package Tool>=2.0.0ubuntu0<2.0.0ubuntu0.20.04.2
Canonical Ubuntu Linux=20.04
Debian Advanced Package Tool>=2.1.3ubuntu1<2.1.30ubuntu1.1
Canonical Ubuntu Linux=20.10
Debian Advanced Package Tool<1.8.4.2
Debian Debian Linux=10.0
All of the following
Debian Advanced Package Tool>=1.1.0\~beta1<1.1.0\~beta1ubuntu0.16.04.10
Canonical Ubuntu Linux=16.04
All of the following
Debian Advanced Package Tool>=1.6.5ubuntu0<1.6.5ubuntu0.4
Canonical Ubuntu Linux=18.04
All of the following
Debian Advanced Package Tool>=2.0.0ubuntu0<2.0.0ubuntu0.20.04.2
Canonical Ubuntu Linux=20.04
All of the following
Debian Advanced Package Tool>=2.1.3ubuntu1<2.1.30ubuntu1.1
Canonical Ubuntu Linux=20.10
All of the following
Debian Advanced Package Tool<1.8.4.2
Debian Debian Linux=10.0
debian/python-apt
2.2.12.2.1.12.6.03.0.03.1.0

Event History

Dec 10, 2020
CVE Published
via MITRE·04:05 AM
Data Sourced
via MITRE·04:05 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 AM
DescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:47 PM
Description
Feb 23, 2026
Data Sourced
via Ubuntu·10:00 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·10:01 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2020-27351?

CVE-2020-27351 is a vulnerability in python-apt that allows for various memory and file descriptor leaks.

2

What is the severity of CVE-2020-27351?

CVE-2020-27351 has a severity of low with a severity value of 2.8.

3

Which software versions are affected by CVE-2020-27351?

CVE-2020-27351 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; and 2.0.0ubuntu0 versions prior to 2.0.0ubuntu0.20.04.2.

4

How can I fix CVE-2020-27351?

To fix CVE-2020-27351, you should upgrade to python-apt version 1.8.4.3, 2.2.1, or 2.6.0.

5

Where can I find more information about CVE-2020-27351?

You can find more information about CVE-2020-27351 at the following references: [1] [2] [3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203