CVE-2017-5331

NameCVE-2017-5331
DescriptionInteger overflow in the check_offset function in b/wrestool/fileread.c in icoutils before 0.31.1 allows local users to cause a denial of service (process crash) and execute arbitrary code via a crafted executable.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-789-1, DSA-3765-1
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
icoutils (PTS)stretch0.31.2-1.1fixed
buster0.32.3-2.1fixed
bullseye, sid0.32.3-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
icoutilssourcewheezy0.29.1-5deb7u1DLA-789-1
icoutilssourcejessie0.31.0-2+deb8u2DSA-3765-1
icoutilssource(unstable)0.31.1-1

Notes

Fixed by: http://git.savannah.gnu.org/cgit/icoutils.git/commit/?id=4fbe9222fd79ee31b7ec031b0be070a9a400d1d3
http://www.openwall.com/lists/oss-security/2017/01/10/4

Search for package or bug name: Reporting problems