CVE-2020-27350
apt integer wraparound
Reported by canonical · Published December 10, 2020
APT had several integer overflows and underflows while parsing .deb packages, aka GHSL-2020-168 GHSL-2020-169, in files apt-pkg/contrib/extracttar.cc, apt-pkg/deb/debfile.cc, and apt-pkg/contrib/arfile.cc. This issue affects: apt 1.2.32ubuntu0 versions prior to 1.2.32ubuntu0.2; 1.6.12ubuntu0 versions prior to 1.6.12ubuntu0.2; 2.0.2ubuntu0 versions prior to 2.0.2ubuntu0.2; 2.1.10ubuntu0 versions prior to 2.1.10ubuntu0.1;
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| apt | Canonical | 2.1.10ubuntu0.1, 2.0.2ubuntu0.2, 1.6.12ubuntu0.2, 1.2.32ubuntu0.2 |
| apt | Ubuntu:20.04:LTS | 2.0.2ubuntu0.2 |
| apt | Ubuntu:16.04:LTS | 1.2.32ubuntu0.2 |
| apt | Ubuntu:Pro:14.04:LTS | 1.0.1ubuntu2.24+esm3 |
| advanced_package_tool | debian | 2.1.10ubuntu0.2, 2.0.2ubuntu0.2, 1.8.2.2, 1.6.12ubuntu0.2, 1.2.32ubuntu0.2 |
| apt | Ubuntu:18.04:LTS | 1.6.12ubuntu0.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Canonical | apt | 1.2.32ubuntu0, 1.6.12ubuntu0, 2.0.2ubuntu0 |
| Canonical | apt | 1.2.32ubuntu0, 1.6.12ubuntu0, 2.0.2ubuntu0 |
Timeline
- Dec 9, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (4 in total, the first dated here)
- Mar 6, 2026 Security Advisory (4 in total, the first dated here)
- Sep 1, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-27350
vulnetix vdb fixes CVE-2020-27350
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-27350/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- DSA-4808 vendor-advisoryx_refsource_DEBIAN
- x_refsource_CONFIRM