Skip to content
Heist/ feed
Back to feed
HighFix available

giflib — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2018-11489

The DGifDecompressLine function in dgif_lib.c in GIFLIB (possibly version 3.0.x), as later shipped in cgif.c in sam2p 0.49.4, has a heap-based buffer overflow because a certain CrntCode array index is not checked. This will lead to a denial of service or possibly unspecified other impact.

Products
giflib
Affected versions
Not specified
Fixed versions
4.1.4-1
CVEs
CVE-2018-11489
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:46 UTC · Revision 1

Source evidence

DEBIAN-CVE-2018-11489

core-osv · Original source

Published 26 May 2018, 18:29 UTC

The DGifDecompressLine function in dgif_lib.c in GIFLIB (possibly version 3.0.x), as later shipped in cgif.c in sam2p 0.49.4, has a heap-based buffer overflow because a certain CrntCode array index is not checked. This will lead to a denial of service or possibly unspecified other impact.

osv:DEBIAN-CVE-2018-11489

giflib

Fixed versions: 4.1.4-1

giflib

Fixed versions: 4.1.4-1

giflib

Fixed versions: 4.1.4-1

Complete source record
{
  "id": "f6c38547c422f08a587a88994d2157755d11307954f2a503a8a3bde976a02b43",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2018-11489",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2018-11489",
    "summary": "The DGifDecompressLine function in dgif_lib.c in GIFLIB (possibly version 3.0.x), as later shipped in cgif.c in sam2p 0.49.4, has a heap-based buffer overflow because a certain CrntCode array index is not checked. This will lead to a denial of service or possibly unspecified other impact.",
    "evidence": "osv:DEBIAN-CVE-2018-11489",
    "products": [
      {
        "name": {
          "value": "giflib",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.1.4-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "giflib",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.1.4-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "giflib",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.1.4-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2018-11489",
      "aliases": [
        "DEBIAN-CVE-2018-11489"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.1.4-1"
                }
              ]
            }
          ],
          "package": {
            "name": "giflib",
            "purl": "pkg:deb/debian/giflib?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-11489.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.1.4-1"
                }
              ]
            }
          ],
          "package": {
            "name": "giflib",
            "purl": "pkg:deb/debian/giflib?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-11489.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.1.4-1"
                }
              ]
            }
          ],
          "package": {
            "name": "giflib",
            "purl": "pkg:deb/debian/giflib?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-11489.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:03:46.806047957Z",
      "provider": "osv",
      "upstream": [
        "CVE-2018-11489"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2018-11489"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2018-11489",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 422199,
  "published_at": "2018-05-26T18:29:00.213+00:00"
}