CVE-2019-6977: canonical ubuntu_linux Out-of-bounds Write
Vulnerability summary
CVE-2019-6977 is a high (CVSS 8.8) Out-of-bounds Write vulnerability in canonical ubuntu_linux. EPSS estimates a 71.50% chance of exploitation in the next 30 days, higher than 99.4% of scored vulnerabilities. 2 public exploits are recorded.
Public exploit (exploit-database, 27-02-2019)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 14 · Related 7Timeline
- 27-01-2019PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
gdImageColorMatch in gd_color_match.c in the GD Graphics Library (aka LibGD) 2.2.5, as used in the imagecolormatch function in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1, has a heap-based buffer overflow. This can be exploited by an attacker who is able to trigger imagecolormatch calls with crafted image data.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated8.8HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
71.50%
Chance of exploitation in the next 30 days
Percentile
99%
Versus all other CVEs
30-day change
No change 0.00 pp
From 71.50% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundExploit Reference (bugs.php.net)
Maturity: unknown
PHP 7.2 - 'imagecolormatch()' Out of Band Heap Write
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Suse3 products
- php5&distro=SUSE Linux Enterprise Module for Web and Scripting 12< 5.5.14-109.48.1
- php5&distro=SUSE Linux Enterprise Software Development Kit 12 SP3< 5.5.14-109.48.1
- php5&distro=SUSE Linux Enterprise Software Development Kit 12 SP4< 5.5.14-109.48.1
Alpine2 products
- gd< 2.2.5-r2
- php7< 7.1.29-r0
Debian2 products
- libgd2< 2.2.5-5.1
- debian_linuxEOL8.0 | 9.0
Canonical1 product
- ubuntu_linuxEOL14.04 | 16.04 | 18.04 | 18.10
Libgd1 product
- libgd2.2.5
Opensuse1 product
- perl-GD&distro=openSUSE Tumbleweed< 2.76-1.1
Php1 product
- phpEOL< 5.6.40 | ≥ 7.0.0, < 7.1.26 | ≥ 7.2.0, < 7.2.14 | 7.3.0
Ubuntu1 product
- libgd2< 2.1.0-3ubuntu0.11 | < 2.1.1-4ubuntu0.16.04.11 | < 2.2.5-4ubuntu0.3
8 vendors · 12 products
References
27 links- lists.debian.org/debian-lts-announce/2019/01/msg00028.htmlMailing ListX Refsource MLISTThird Party Advisory