Description
An Integer overflow in the getElfSections function in p_vmlinx.cpp in UPX 3.95 allows remote attackers to cause a denial of service (crash) via a skewed offset larger than the size of the PE section in a UPX packed executable, which triggers an allocation of excessive memory.
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 | upx-ucl | 3.95-2 | — |
| Debian 13 | upx-ucl | 3.95-2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | upx-ucl | No fix yet | — |
| Ubuntu 16.04 LTS | upx-ucl | No fix yet | — |
References
- https://github.com/upx/upx/issues/286
- FEDORA-2019-9a0f02c8c8 vendor-advisory
- FEDORA-2019-bf4633142b vendor-advisory