# CVE-2017-5331

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2019-11-04 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2017-5331, DEBIAN-CVE-2017-5331
- Record: https://cvemate.com/vulnerability/CVE-2017-5331 · JSON: https://cvemate.com/vulnerability/CVE-2017-5331/json

## Description

```text
Integer 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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.46%, percentile 41.575%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- canonical ubuntu\_linux: 12.04
- debian icoutils (Debian): \< 0.31.1-1
- ubuntu icoutils (Ubuntu): \< 0.31.0-2+deb8u2build0.14.04.1 \| \< 0.31.0-3ubuntu0.1
- debian debian\_linux: 8.0 \| 9.0
- debian icoutils: \< 0.31.1
- icoutils\_project icoutils: \< 0.31.1
- opensuse leap: 42.1 \| 42.2
- opensuse opensuse: 13.2

## References

- <http://lists.opensuse.org/opensuse-security-announce/2017-01/msg00025.html>
- <http://www.openwall.com/lists/oss-security/2017/01/11/3>
- <http://www.debian.org/security/2017/dsa-3765>
- <http://lists.opensuse.org/opensuse-security-announce/2017-01/msg00026.html>
- <http://www.securityfocus.com/bid/95378>
- <http://www.ubuntu.com/usn/USN-3178-1>
- <http://lists.opensuse.org/opensuse-security-announce/2017-01/msg00024.html>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1412248>
- <https://ubuntu.com/security/CVE-2017-5331>
- <http://www.openwall.com/lists/oss-security/2017/01/10/4>
- <https://ubuntu.com/security/notices/USN-3178-1>
- <https://ubuntu.com/security/notices/USN-4695-1>
- <https://www.cve.org/CVERecord?id=CVE-2017-5331>
- <https://security-tracker.debian.org/tracker/CVE-2017-5331>

---

Data as of 2026-12-05T03:05:04.759Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
