CVE-2017-5331: Integer Overflow

Published Jan 11, 2017
·
Updated

An integer overflow vulnerability was found in icoutils in the wrestool program. A maliciously crafted file could make the application crash or possibly allow code execution. This is a CVE for an insufficient patch for CVE-2017-5208.

References:

http://seclists.org/oss-sec/2017/q1/56

Upstream patch:

http://git.savannah.gnu.org/cgit/icoutils.git/commit/?id=4fbe9222fd79ee31b7ec031b0be070a9a400d1d3

Other sources

Integer overflow in the checkoffset 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.

MITRE

Affected Software

7 affected components
Icoutils Project Icoutils<0.31.1
Canonical Ubuntu Linux=12.04
Debian Debian Linux=8.0
Debian Debian Linux=9.0
openSUSE Leap=42.1
openSUSE Leap=42.2
openSUSE openSUSE=13.2

Event History

Jan 11, 2017
Data Sourced
03:40 PM
DescriptionSeverityAffected Software
Nov 4, 2019
CVE Published
via MITRE·08:24 PM
Data Sourced
via MITRE·08:24 PM
DescriptionWeakness

Frequently Asked Questions

1

What is CVE-2017-5331?

CVE-2017-5331 is an integer overflow vulnerability in icoutils before version 0.31.1.

2

What is the severity of CVE-2017-5331?

The severity of CVE-2017-5331 is high with a CVSS score of 7.8.

3

Which software are affected by CVE-2017-5331?

Icoutils Project Icoutils, Canonical Ubuntu Linux 12.04, Debian Debian Linux 8.0, Debian Debian Linux 9.0, openSUSE Leap 42.1, openSUSE Leap 42.2, and Opensuse Opensuse 13.2 are affected by CVE-2017-5331.

4

How can an attacker exploit CVE-2017-5331?

An attacker can exploit CVE-2017-5331 by crafting a malicious executable that triggers an integer overflow, leading to a denial of service (process crash) and potential execution of arbitrary code.

5

Is there a fix for CVE-2017-5331 available?

Yes, a fix for CVE-2017-5331 is available in icoutils version 0.31.1 and later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203