Description
unshield through 1.6.2 contains a heap out-of-bounds read vulnerability in unshield_get_file_table() that allows attackers to read past heap allocations via unchecked cabinet header offsets. Attackers can supply a crafted InstallShield cabinet with out-of-range file_table_offset or large file counts to crash the unshield tool or library consumers.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| twogood | unshield | ≤ 1.6.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 | unshield | No fix yet | — |
| Debian 13 | unshield | No fix yet | — |
| Debian 12 | unshield | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | unshield | No fix yet | — |
| Ubuntu 26.04 LTS | unshield | No fix yet | — |
| Ubuntu 24.04 LTS | unshield | No fix yet | — |
| Ubuntu 22.04 LTS | unshield | No fix yet | — |
| Ubuntu 20.04 LTS | unshield | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | unshield | No fix yet | — |
| Ubuntu 16.04 LTS | unshield | No fix yet | — |
References
- https://hackmd.io/@haind-pwn/unshield-header-filetable-oob-read technical-description exploit
- https://github.com/twogood/unshield/blob/51de441ba6893f11026d4671ccef9e8e2a4634fa/lib/libunshield.c#L195 technical-description
- https://github.com/twogood/unshield product
- VulnCheck Advisory: unshield through 1.6.2 Heap Out-of-Bounds Read via unshield_get_file_table third-party-advisory