CVSS 3.0
8.8 highCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HHigh (8.8). EPSS 71% estimated probability of exploitation activity in the next 30 days.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExplain CVE-2019-6977 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-6977?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-6977?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-6977 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| libgd:libgd | 2.2.5 |
| php:php | before 5.6.40 |
| php:php | from 7.0.0 before 7.1.26 |
| php:php | from 7.2.0 before 7.2.14 |
| php:php | 7.3.0 |
| debian:debian_linux | 8.0 |
| debian:debian_linux | 9.0 |
| canonical:ubuntu_linux | 14.04 |
| canonical:ubuntu_linux | 16.04 |
| canonical:ubuntu_linux | 18.04 |
| canonical:ubuntu_linux | 18.10 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 8 | libgd2 | 2.1.0-5+deb8u12 | DLA-1651-1 |
| Debian | 8 | php5 | 5.6.40+dfsg-0+deb8u1 | DLA-1679-1 |
| Debian | 9 | libgd2 | 2.2.4-2+deb9u4 | DSA-4384-1 |
| Debian | 12, 13, 14 | libgd2 | 2.2.5-5.1 | DEBIAN-CVE-2019-6977 |
| Ubuntu | 14.04:LTS | libgd2 | 2.1.0-3ubuntu0.11 | UBUNTU-CVE-2019-6977 USN-3900-1 |
| Ubuntu | 16.04:LTS | libgd2 | 2.1.1-4ubuntu0.16.04.11 | UBUNTU-CVE-2019-6977 USN-3900-1 |
| Ubuntu | 18.04:LTS | libgd2 | 2.2.5-4ubuntu0.3 | UBUNTU-CVE-2019-6977 USN-3900-1 |
| Red Hat | enterprise_linux:8::appstream | gd, gd-devel, gd-debuginfo and 2 more | 0:2.2.5-7.el8 | RHSA-2020:4659 |
| Red Hat | rhel_software_collections:3::el7 | rh-php71-php, rh-php71-php-gd, rh-php71-php-cli and 27 more | 0:7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat | rhel_software_collections:3::el7 | rh-php72-php, rh-php72-php-gd, rh-php72-php-cli and 27 more | 0:7.2.24-1.el7 | RHSA-2019:3299 |
| SUSE | Linux Enterprise Desktop 12 SP3, Linux Enterprise Desktop 12 SP4, Linux Enterprise Server 12 SP3 and 7 more | gd | 2.1.0-24.12.1 | SUSE-SU-2019:0747-1 |
| SUSE | Linux Enterprise Module for Basesystem 15, Linux Enterprise Module for Desktop Applications 15 | gd | 2.2.5-4.6.1 | SUSE-SU-2019:0771-1 |
| SUSE | Linux Enterprise Module for Web and Scripting 12, Linux Enterprise Software Development Kit 12 SP3, Linux Enterprise Software Development Kit 12 SP4 | php5 | 5.5.14-109.48.1 | SUSE-SU-2019:0449-1 |
| SUSE | Linux Enterprise Module for Web and Scripting 12, Linux Enterprise Software Development Kit 12 SP3, Linux Enterprise Software Development Kit 12 SP4 | php7 | 7.0.7-50.63.1 | SUSE-SU-2019:0333-1 |
| SUSE | Linux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4, Linux Enterprise Software Development Kit 11 SP4 | php53 | 5.3.17-112.53.1 | SUSE-SU-2019:13961-1 |
| openSUSE | Leap 15.0 | gd | 2.2.5-lp150.8.1 | openSUSE-SU-2019:1148-1 |
| openSUSE | Tumbleweed | gd | 2.3.3-1.1 | openSUSE-SU-2024:10777-1 |
| openSUSE | Tumbleweed | perl-GD | 2.76-1.1 | openSUSE-SU-2024:11852-1 |
| AlmaLinux | 8 | gd, gd-devel | 2.2.5-7.el8 | ALSA-2020:4659 |
| Rocky Linux | 8 | gd | 0:2.2.5-7.el8 | RLSA-2020:4659 |
| Alpine | v3.6, v3.7, v3.8 and 16 more | gd | 2.2.5-r2 | ALPINE-CVE-2019-6977 |
| Alpine | v3.7 | php7 | 7.1.29-r0 | ALPINE-CVE-2019-6977 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | gd-0:2.2.5-7.el8 | Fixed 2020-11-04 | RHSA-2020:4659 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php71-php-0:7.1.30-1.el7 | Fixed 2019-08-19 | RHSA-2019:2519 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php72-php-0:7.2.24-1.el7 | Fixed 2019-11-01 | RHSA-2019:3299 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-php71-php-0:7.1.30-1.el7 | Fixed 2019-08-19 | RHSA-2019:2519 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-php71-php-0:7.1.30-1.el7 | Fixed 2019-08-19 | RHSA-2019:2519 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-php72-php-0:7.2.24-1.el7 | Fixed 2019-11-01 | RHSA-2019:3299 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-php71-php-0:7.1.30-1.el7 | Fixed 2019-08-19 | RHSA-2019:2519 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-php72-php-0:7.2.24-1.el7 | Fixed 2019-11-01 | RHSA-2019:3299 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-php72-php-0:7.2.24-1.el7 | Fixed 2019-11-01 | RHSA-2019:3299 |
| Red Hat Enterprise Linux 5 | gd | Will not fix | |
| Red Hat Enterprise Linux 5 | php | Will not fix | |
| Red Hat Enterprise Linux 5 | php53 | Will not fix | |
| Red Hat Enterprise Linux 6 | gd | Will not fix | |
| Red Hat Enterprise Linux 6 | php | Will not fix | |
| Red Hat Enterprise Linux 7 | gd | Not affected | |
| Red Hat Enterprise Linux 7 | php | Will not fix | |
| Red Hat Enterprise Linux 8 | php:7.2/php | Not affected | |
| Red Hat Software Collections | rh-php70-php | Will not fix |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-6977.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.