Description
Integer underflow in the decode_level3_header function in lib/lha_file_header.c in Lhasa before 0.3.1 allows remote attackers to execute arbitrary code via a crafted archive.
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 | lhasa | 0.3.1-1 | — |
| Debian 13 | lhasa | 0.3.1-1 | — |
| Debian 12 | lhasa | 0.3.1-1 | — |
| Debian 8 | lhasa | 0.2.0+git3fe46-1+deb8u1 | DSA-3540-1 |
| Debian 7 | lhasa | 0.0.7-2+deb7u1 | DSA-3540-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | lhasa | No fix yet | — |
| Ubuntu 14.04 LTS | lhasa | 0.0.7-2+deb7u1ubuntu0.14.04.1 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP1 | lhasa | 0.2.0-5.1 | SUSE-SU-2016:1091-1 |
| SLES 12 | lhasa | 0.2.0-5.1 | SUSE-SU-2016:1091-1 |
Advisories 2
- DSA-3540-1 lhasa - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2016:1091-1 Security update for lhasa SUSE / openSUSE Security Updates · Feb 4, 2026