9.8

CVE-2016-10166: libgd Integer Underflow (Wrap or Wraparound)

Modified
AliasesALPINE-CVE-2016-10166UBUNTU-CVE-2016-10166DEBIAN-CVE-2016-10166
Published 15-03-2017Last modified 06-08-2024

Vulnerability summary

CVE-2016-10166 is a critical (CVSS 9.8) Integer Underflow (Wrap or Wraparound) vulnerability in libgd. EPSS estimates a 10.69% chance of exploitation in the next 30 days, higher than 95.8% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 11% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.0 (NVD)
EPSS score
10.69%
0%100%
Medium · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 10 · Related 6

Timeline

  1. 15-03-2017
    PublishedVulnerability first disclosed.
  2. 06-08-2024
    Last modifiedVulnerability information updated.

Description

Integer underflow in the _gdContributionsAlloc function in gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to have unspecified impact via vectors related to decrementing the u variable.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

10.69%

Chance of exploitation in the next 30 days

Percentile

96%

Versus all other CVEs

30-day change

No change 0.00 pp

From 10.69% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine3 products
  • gd< 2.2.4-r0
  • php5< 5.6.40-r0
  • php7< 7.1.29-r0
Debian1 product
  • libgd2< 2.2.4-1
Libgd1 product
Ubuntu1 product
  • libgd2< 2.1.0-3ubuntu0.6 | < 2.1.1-4ubuntu0.16.04.6

4 vendors · 6 products

References

13 links
Show all 13 references