Security mailing lists by PureSourceCode

CVE-2017-7890

MEDIUM 6.5CVSS 3.0

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.

Published
2 Aug 2017
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-200
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 MEDIUM 6.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
<= 5.6.30
NVD php php
cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*
= 7.0.0
NVD php php
cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*
= 7.0.1
NVD php php
cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:*
= 7.0.2
NVD php php
cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:*
= 7.0.3
NVD php php
cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:*
= 7.0.4
NVD php php
cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:*
= 7.0.5
NVD php php
cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:*
= 7.0.6
NVD php php
cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:*
= 7.0.7
NVD php php
cpe:2.3:a:php:php:7.0.8:*:*:*:*:*:*:*
= 7.0.8
NVD php php
cpe:2.3:a:php:php:7.0.9:*:*:*:*:*:*:*
= 7.0.9
NVD php php
cpe:2.3:a:php:php:7.0.10:*:*:*:*:*:*:*
= 7.0.10
NVD php php
cpe:2.3:a:php:php:7.0.11:*:*:*:*:*:*:*
= 7.0.11
NVD php php
cpe:2.3:a:php:php:7.0.12:*:*:*:*:*:*:*
= 7.0.12
NVD php php
cpe:2.3:a:php:php:7.0.13:*:*:*:*:*:*:*
= 7.0.13
NVD php php
cpe:2.3:a:php:php:7.0.14:*:*:*:*:*:*:*
= 7.0.14
NVD php php
cpe:2.3:a:php:php:7.0.15:*:*:*:*:*:*:*
= 7.0.15
NVD php php
cpe:2.3:a:php:php:7.0.16:*:*:*:*:*:*:*
= 7.0.16
NVD php php
cpe:2.3:a:php:php:7.0.17:*:*:*:*:*:*:*
= 7.0.17
NVD php php
cpe:2.3:a:php:php:7.0.18:*:*:*:*:*:*:*
= 7.0.18
NVD php php
cpe:2.3:a:php:php:7.0.19:*:*:*:*:*:*:*
= 7.0.19
NVD php php
cpe:2.3:a:php:php:7.0.20:*:*:*:*:*:*:*
= 7.0.20
NVD php php
cpe:2.3:a:php:php:7.1.0:*:*:*:*:*:*:*
= 7.1.0
NVD php php
cpe:2.3:a:php:php:7.1.1:*:*:*:*:*:*:*
= 7.1.1
NVD php php
cpe:2.3:a:php:php:7.1.2:*:*:*:*:*:*:*
= 7.1.2
NVD php php
cpe:2.3:a:php:php:7.1.3:*:*:*:*:*:*:*
= 7.1.3
NVD php php
cpe:2.3:a:php:php:7.1.4:*:*:*:*:*:*:*
= 7.1.4
NVD php php
cpe:2.3:a:php:php:7.1.5:*:*:*:*:*:*:*
= 7.1.5
NVD php php
cpe:2.3:a:php:php:7.1.6:*:*:*:*:*:*:*
= 7.1.6

References

History

  • 25 Nov 2026 20:20 UTC · NVD: first stored (published 2 Aug 2017)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.