CVE-2017-14636
Because of an integer overflow in sam2p 0.49.3, a loop executes 0xffff ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (medium).
Description
Because of an integer overflow in sam2p 0.49.3, a loop executes 0xffffffff times, ending with an invalid read of size 1 in the Image::Indexed::sortPal function in image.cpp. However, this also causes memory corruption because of an attempted write to the invalid d[0xfffffffe] array element.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 7 | sam2p | 0.49.1-1+deb7u1 |
| debian 8 | sam2p | 0.49.2-3+deb8u1 |
| ubuntu 14.04 | sam2p | 0.49.2-3+deb8u3build0.14.04.1 |
| ubuntu 14.04-ESM | sam2p | 0.49.2-3+deb8u3build0.14.04.1 |
| ubuntu 16.04 | sam2p | 0.49.2-3+deb8u3build0.16.04.1 |
| ubuntu 16.04-ESM | sam2p | 0.49.2-3+deb8u3build0.16.04.1 |