Description
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;
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Canonical | apt | 1.2.32ubuntu0 – < 1.2.32ubuntu0.2, 1.6.12ubuntu0 – < 1.6.12ubuntu0.2, 2.0.2ubuntu0 – < 2.0.2ubuntu0.2, 2.1.10ubuntu0 – < 2.1.10ubuntu0.1 | 1.2.32ubuntu0.2 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | apt | 2.1.13 | — |
| Debian 13 | apt | 2.1.13 | — |
| Debian 12 | apt | 2.1.13 | — |
| Debian 10 | apt | 1.8.2.2 | DSA-4808-1 |
| Debian 9 | apt | 1.4.11 | DLA-2487-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | apt | 2.0.2ubuntu0.2 | USN-4667-1 |
| Ubuntu 18.04 LTS | apt | 1.6.12ubuntu0.2 | USN-4667-1 |
| Ubuntu 16.04 LTS | apt | 1.2.32ubuntu0.2 | USN-4667-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | apt | 1.0.1ubuntu2.24+esm3 | USN-4667-2 |
Advisories 4
- USN-4667-2 apt vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- USN-4667-1 apt vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4808-1 apt - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2487-1 apt - security update Debian Security (DSA / DLA) · Mar 9, 2026