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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-789-1, DSA-3765-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
icoutils (PTS)buster0.32.3-2.1fixed
bullseye0.32.3-3fixed
sid, trixie, bookworm0.32.3-4fixed

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
https://www.openwall.com/lists/oss-security/2017/01/10/4

Search for package or bug name: Reporting problems