Home / Canonical / Python-apt / CVE-2019-15795
CVE-2019-15795: is it exploited, and which versions of Canonical Python-apt are affected and fixed?
CVE-2019-15795 is a broken or risky cryptography vulnerability in Canonical Python-apt. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: python-apt before 0.8.3ubuntu7.5, python-apt from 0.9.0 before 0.9.3.5ubuntu3, python-apt from 1.0.0 before 1.1.0 and 2 more (GitHub advisory GHSA-rp8m-h266-53jh). Fixed in 0.8.3ubuntu7.5, 0.9.3.5ubuntu3, 1.1.0, 1.6.5ubuntu0.1 and 1 more (GitHub advisory GHSA-rp8m-h266-53jh). Severity: Medium (4.7, CVSS 3.1, from canonical).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:12 UTC.
What is CVE-2019-15795?
python-apt uses MD5 for validation
python-apt only checks the MD5 sums of downloaded files in `Version.fetch_binary()` and `Version.fetch_source()` of apt/package.py in version 1.9.0ubuntu1 and earlier. This allows a man-in-the-middle attack which could potentially be used to install altered packages and has been fixed in versions 1.9.0ubuntu1.2, 1.6.5ubuntu0.1, 1.1.0~beta1ubuntu0.16.04.7, 0.9.3.5ubuntu3+esm2, and 0.8.3ubuntu7.5.
From the CVE record by canonical, last updated September 16, 2024, 19:45 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Canonical | Python-apt | from 0.8.3 before 0.8.3ubuntu7.5 from 0.9.3.5 before 0.9.3.5ubuntu3+esm2 from 1.1.0 before 1.1.0~beta1ubuntu0.16.04.7 from 1.6.5 before 1.6.5ubuntu0.1 from 1.9.0 before 1.9.0ubuntu1.2 | 0.8.3ubuntu7.5, 0.9.3.5ubuntu3+esm2, 1.1.0~beta1ubuntu0.16.04.7, 1.6.5ubuntu0.1, 1.9.0ubuntu1.2 |
As the CVE record by canonical states it, last updated September 16, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | python-apt | < 0.8.3ubuntu7.5 | 0.8.3ubuntu7.5 | GHSA-rp8m-h266-53jh |
| PyPI | python-apt | >= 0.9.0, < 0.9.3.5ubuntu3 | 0.9.3.5ubuntu3 | GHSA-rp8m-h266-53jh |
| PyPI | python-apt | >= 1.0.0, < 1.1.0 | 1.1.0 | GHSA-rp8m-h266-53jh |
| PyPI | python-apt | >= 1.2.0, < 1.6.5ubuntu0.1 | 1.6.5ubuntu0.1 | GHSA-rp8m-h266-53jh |
| PyPI | python-apt | >= 1.7.0, < 1.9.0ubuntu1.2 | 1.9.0ubuntu1.2 | GHSA-rp8m-h266-53jh |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 26, 2023. Summary: python-apt Flawed Package Integrity Check.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| ubuntu | python-apt | 0.8.0 | application |
| ubuntu | python-apt | 0.8.1 | application |
| ubuntu | python-apt | 0.8.3 | application |
| ubuntu | python-apt | 0.8.9.1 | application |
| ubuntu | python-apt | 0.9.0 | application |
| ubuntu | python-apt | 0.9.1 | application |
| ubuntu | python-apt | 0.9.3.1 | application |
| ubuntu | python-apt | 0.9.3.2 | application |
| ubuntu | python-apt | 0.9.3.3 | application |
| ubuntu | python-apt | 0.9.3.4 | application |
| ubuntu | python-apt | 0.9.3.5 | application |
| ubuntu | python-apt | 1.0.1 | application |
| ubuntu | python-apt | 1.1.0 | application |
| debian | python-apt | 1.8.4 | application |
| ubuntu | python-apt | 1.4.0 | application |
| ubuntu | python-apt | 1.6.0 | application |
| ubuntu | python-apt | 1.6.1 | application |
| ubuntu | python-apt | 1.6.2 | application |
| ubuntu | python-apt | 1.6.3 | application |
| ubuntu | python-apt | 1.6.4 | application |
| ubuntu | python-apt | 1.8.4 | application |
| ubuntu | python-apt | 1.9.0 | application |
| ubuntu | python-apt | 1.7.0 | application |
| ubuntu | python-apt | 1.8.0 | application |
| ubuntu | python-apt | 1.8.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:21 UTC.
How severe is CVE-2019-15795?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N | canonical |
| Medium 4.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD |
| Low 2.6 | CVSS 2.0 | AV:N/AC:H/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2019-15795 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.45% probability of exploitation activity in the next 30 days, percentile 40.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-327 Use of a Broken or Risky Cryptographic Algorithm
Where are the vendor advisories and references?
- https://usn.ubuntu.com/4247-1/ vendor-advisory, x_refsource_UBUNTU
- https://usn.ubuntu.com/4247-3/ vendor-advisory, x_refsource_UBUNTU
Who found and reported it?
- Julian Andres Klode (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- August 29, 2019
- Published
- March 26, 2020, 13:00 UTC
- CVE record updated
- September 16, 2024, 19:45 UTC by canonical
- NVD
- Modified, last modified June 17, 2026, 02:21 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:12 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Python-apt?
- Dec 5, 2025CVE-2025-6966 Canonical python-apt: NULL pointer dereference (crash)
- Dec 10, 2020CVE-2020-27351 Canonical python-apt: resource not released after use
- Mar 26, 2020CVE-2019-15796 Canonical Python-apt: authentication bypass (improper authentication)
Questions about CVE-2019-15795
Is CVE-2019-15795 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 0.45% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Canonical Python-apt are affected by CVE-2019-15795?
python-apt before 0.8.3ubuntu7.5, python-apt from 0.9.0 before 0.9.3.5ubuntu3, python-apt from 1.0.0 before 1.1.0, python-apt from 1.2.0 before 1.6.5ubuntu0.1 and python-apt from 1.7.0 before 1.9.0ubuntu1.2, per the GitHub advisory GHSA-rp8m-h266-53jh. The tables above give every range the sources list.
Which version fixes CVE-2019-15795?
0.8.3ubuntu7.5, 0.9.3.5ubuntu3, 1.1.0, 1.6.5ubuntu0.1 and 1.9.0ubuntu1.2, per the GitHub advisory GHSA-rp8m-h266-53jh. Check the vendor's advisory before you rely on it.
How severe is CVE-2019-15795?
Medium (4.7, CVSS 3.1, from canonical). The severity table above shows each score with its source.
Where is the official record of CVE-2019-15795?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.