p PatchFirst

CVE-2017-7890

CVE-2017-7890

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.5 · Medium · EPSS 3.4% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • libgd2 Debian:12

    Affected ranges
    • ECOSYSTEM: < 2.2.5-1

    Update to 2.2.5-1

  • libgd2 Debian:13

    Affected ranges
    • ECOSYSTEM: < 2.2.5-1

    Update to 2.2.5-1

  • libgd2 Debian:14

    Affected ranges
    • ECOSYSTEM: < 2.2.5-1

    Update to 2.2.5-1

  • libgd2 Ubuntu:14.04:LTS

    Versions
    • 2.1.0-2
    • 2.1.0-3
    • 2.1.0-3ubuntu0.1
    • 2.1.0-3ubuntu0.2
    • 2.1.0-3ubuntu0.3
    • 2.1.0-3ubuntu0.5
    • 2.1.0-3ubuntu0.6
    Affected ranges
    • ECOSYSTEM: < 2.1.0-3ubuntu0.7

    Update to 2.1.0-3ubuntu0.7

  • libgd2 Ubuntu:16.04:LTS

    Versions
    • 2.1.1-4build1
    • 2.1.1-4build2
    • 2.1.1-4ubuntu0.16.04.1
    • 2.1.1-4ubuntu0.16.04.2
    • 2.1.1-4ubuntu0.16.04.3
    • 2.1.1-4ubuntu0.16.04.5
    • 2.1.1-4ubuntu0.16.04.6
    Affected ranges
    • ECOSYSTEM: < 2.1.1-4ubuntu0.16.04.7

    Update to 2.1.1-4ubuntu0.16.04.7

Original sources

Check your server →