Skip to content
Fencer Vulns
high 7.8

CVE-2017-5331 json

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 se…

published 2019-11-04 7 y ago modified 2026-06-17 4 mo ago also EUVD-2017-14436

cvss
7.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 40%
public exploits
0
none known

Summary

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.

Patch / fix

  • icoutils_project icoutils 0.31.1
  • icoutils Debian 14, Debian 13, Debian 12 0.31.1-1

debian advisories DEBIAN-CVE-2017-5331

  • icoutils Ubuntu 14.04 LTS 0.31.0-2+deb8u2build0.14.04.1
  • icoutils Ubuntu 16.04 LTS 0.31.0-3ubuntu0.1

ubuntu advisories UBUNTU-CVE-2017-5331

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-5331 updated cvss 7.3

icoutils: Check_offset overflow on 64-bit systems

  • Red Hat Enterprise Linux 7 icoutils
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.46% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 4.6 AV:L/AC:L/Au:N/C:P/I:P/A:P

Affected products

  • Debian icoutils

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.