8.8

CVE-2016-5766: debian debian_linux Integer Overflow or Wraparound

Modified
AliasesALPINE-CVE-2016-5766RHSA-2020:5443UBUNTU-CVE-2016-5766
Published 07-08-2016Last modified 06-08-2024

Vulnerability summary

CVE-2016-5766 is a high (CVSS 8.8) Integer Overflow or Wraparound vulnerability in debian debian_linux. EPSS estimates a 7.50% chance of exploitation in the next 30 days, higher than 94.4% of scored vulnerabilities. 2 public exploits are recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.0 (NVD)
EPSS score
7.50%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits2github, reference

Advisory lineage

Upstream 0 · Downstream 12 · Related 8

Timeline

  1. 07-08-2016
    PublishedVulnerability first disclosed.
  2. 06-08-2024
    Last modifiedVulnerability information updated.

Description

Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used in PHP before 5.5.37, 5.6.x before 5.6.23, and 7.x before 7.0.8, allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via crafted chunk dimensions in an image.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

7.50%

Chance of exploitation in the next 30 days

Percentile

94%

Versus all other CVEs

30-day change

No change 0.00 pp

From 7.50% 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

2 found
  • githubUnverified

    Php Src

    Maturity: poc

  • referenceUnverified

    Exploit Reference (bugs.php.net)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

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

Redhat6 products
Debian2 products
  • libgd2< 2.2.2-29-g3c2b605-1 | < 2.0.36~rc1~dfsg-6.1+deb7u4
  • debian_linuxEOL8.0
Alpine1 product
  • gd< 2.2.1-r2 | < 2.2.3-r0
Fedoraproject1 product
Freebsd1 product
  • freebsdEOL8.3 | 8.0 | 10.0 | 10.1 | 8.4 | 9.2 | 8.2 | 8.1 | 9.0 | 10.2 | 9.3 | 10.3 | 9.1
Libgd1 product
Ubuntu1 product
  • libgd2< 2.1.0-3ubuntu0.2 | < 2.1.1-4ubuntu0.16.04.2

7 vendors · 13 products

References

26 links
Show all 26 references