{"id":"EDB-46677","name":"PHP 7.2 - 'imagecolormatch()' Out of Band Heap Write","description":"PHP 7.2 - 'imagecolormatch()' Out of Band Heap Write","cves":["CVE-2019-6977"],"author":"cfreal","published":"2019-02-27","platform":"php","type":"remote","language":"PHP","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/46677","path":"exploits/php/remote/46677.php","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-46677.php","vulnerabilities":[{"id":"CVE-2019-6977","state":"PUBLISHED","title":null,"titleSource":null,"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.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2019-6977","cvss":{"version":"3.0","baseScore":8.8,"severity":"high","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2019-6977"},"updatedAt":"2024-08-04T20:38:32.847Z","retrievedAt":"2026-11-27T12:06:52.874Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-46677.png?v=2","url":"https://exploitbin.com/exploits/EDB-46677","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-46677/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-46677/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"}