SecurityContext

CVE-2017-7890: GD Graphics Library - Information Disclosure

  • Cve: CVE-2017-7890
  • Name: GD Graphics Library - Information Disclosure
  • Description: The GIF decoding function gdImageCreateFromGifCtx in gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.31 and 7.x before 7.1.7, does not zero colorMap arrays before use. A specially crafted GIF image could use the uninitialized tables to read ~700 bytes from the top of the stack, potentially disclosing sensitive information.
  • Impact: Attackers can potentially read sensitive information from uninitialized memory, leading to information disclosure.
  • Remediation: Update to GD Graphics Library version 2.1.0 or later, or apply the latest security patches.
  • Vulnerability impact: information_disclosure
  • Requirement type: user_interaction
  • Requirements: Attacker needs to craft a malicious GIF image
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
  • Epss score: 0.03418
  • Epss percentile: 0.89203
  • Assignee: [email protected]
  • Published at: 2017-08-02T19:29:00Z
  • Age in days: 3401
  • Modified at: 2026-06-17T01:25:24Z
  • Patch available: yes
  • References total: 10
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-7890
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: vulnerability type, hackerone

Cwe

IdName
CWE-200Exposure of Sensitive Information to an Unauthorized Actor

References

Same in every row:

  • Source: nvd
UrlTags
https://bugs.php.net/bug.php?id=74435Patch, Vendor Advisory
https://bugs.php.net/patch-display.php?bug=74435&patch=fix-74435-php-7.0&revision=1497970038Issue Tracking, Patch, Vendor Advisory
http://php.net/ChangeLog-5.phpRelease Notes, Vendor Advisory
http://php.net/ChangeLog-7.phpRelease Notes, Vendor Advisory
http://www.securityfocus.com/bid/99492Third Party Advisory, VDB Entry
http://www.debian.org/security/2017/dsa-3938
https://access.redhat.com/errata/RHSA-2018:0406
https://access.redhat.com/errata/RHSA-2018:1296
https://security.netapp.com/advisory/ntap-20180112-0001/
https://www.tenable.com/security/tns-2017-12

Products

ProductAffectedPlatform boundSourcesUrl
php:php= 7.1.6, = 7.1.5, = 7.1.4, = 7.1.3, = 7.1.2, = 7.1.1, = 7.1.0, = 7.0.20, = 7.0.19, = 7.0.18, = 7.0.17, = 7.0.16, = 7.0.15, = 7.0.14, = 7.0.13, = 7.0.12, = 7.0.11, = 7.0.10, = 7.0.9, = 7.0.8, = 7.0.7, = 7.0.6, = 7.0.5, = 7.0.4, = 7.0.3, = 7.0.2, = 7.0.1, = 7.0.0, <= 5.6.30nonvd/v1/products/php/php

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 6175026
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports