ubuntu-cve-2018-5711
Vulnerability from osv_ubuntu
Published
2018-01-16 00:00
Modified
2026-04-22 07:38
Summary
Details

gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.33, 7.0.x before 7.0.27, 7.1.x before 7.1.13, and 7.2.x before 7.2.1, has an integer signedness error that leads to an infinite loop via a crafted GIF file, as demonstrated by a call to the imagecreatefromgif or imagecreatefromstring PHP function. This is related to GetCode_ and gdImageCreateFromGifCtx.

Severity

{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libgd-tools",
            "binary_version": "2.1.0-3ubuntu0.10"
          },
          {
            "binary_name": "libgd3",
            "binary_version": "2.1.0-3ubuntu0.10"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:14.04:LTS",
        "name": "libgd2",
        "purl": "pkg:deb/ubuntu/libgd2@2.1.0-3ubuntu0.10?arch=source\u0026distro=trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.1.0-3ubuntu0.10"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "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",
        "2.1.0-3ubuntu0.7",
        "2.1.0-3ubuntu0.8"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libgd-tools",
            "binary_version": "2.1.1-4ubuntu0.16.04.10"
          },
          {
            "binary_name": "libgd3",
            "binary_version": "2.1.1-4ubuntu0.16.04.10"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "libgd2",
        "purl": "pkg:deb/ubuntu/libgd2@2.1.1-4ubuntu0.16.04.10?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.1.1-4ubuntu0.16.04.10"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "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",
        "2.1.1-4ubuntu0.16.04.7",
        "2.1.1-4ubuntu0.16.04.8"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libgd-tools",
            "binary_version": "2.2.5-4ubuntu0.2"
          },
          {
            "binary_name": "libgd3",
            "binary_version": "2.2.5-4ubuntu0.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "libgd2",
        "purl": "pkg:deb/ubuntu/libgd2@2.2.5-4ubuntu0.2?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.2.5-4ubuntu0.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.2.5-3",
        "2.2.5-4"
      ]
    }
  ],
  "aliases": [],
  "details": "gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.33, 7.0.x before 7.0.27, 7.1.x before 7.1.13, and 7.2.x before 7.2.1, has an integer signedness error that leads to an infinite loop via a crafted GIF file, as demonstrated by a call to the imagecreatefromgif or imagecreatefromstring PHP function. This is related to GetCode_ and gdImageCreateFromGifCtx.",
  "id": "UBUNTU-CVE-2018-5711",
  "modified": "2026-04-22T07:38:32Z",
  "published": "2018-01-16T00:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2018-5711"
    },
    {
      "type": "REPORT",
      "url": "http://php.net/ChangeLog-5.php"
    },
    {
      "type": "REPORT",
      "url": "http://php.net/ChangeLog-7.php"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-3755-1"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2018-5711"
    }
  ],
  "related": [
    "USN-3755-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "low",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2018-5711"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…