High
Security advisory
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 "Private->RunningCode - 2" array index is not checked. This will lead to a denial of service or possibly unspecified other impact.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-11490
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:15 UTC · Revision 1
Source evidence
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 "Private->RunningCode - 2" array index is not checked. This will lead to a denial of service or possibly unspecified other impact.
osv:CVE-2018-11490
Complete source record
{
"id": "586b873c071255df543cf9b82191721b01e215f9e93e04e60c19e991292af4b4",
"url": "https://osv.dev/vulnerability/CVE-2018-11490",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-11490",
"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 \"Private->RunningCode - 2\" array index is not checked. This will lead to a denial of service or possibly unspecified other impact.",
"evidence": "osv:CVE-2018-11490",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2018-11490",
"aliases": [
"CVE-2018-11490"
],
"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": [
{
"repo": "https://github.com/pts/sam2p",
"type": "GIT",
"events": [
{
"introduced": "02883208a1b6fab503bd367c1acae43133c5ff42"
},
{
"last_affected": "02883208a1b6fab503bd367c1acae43133c5ff42"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:sam2p_project:sam2p:0.49.4:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.49.4"
},
{
"last_affected": "0.49.4"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"0.49.4",
"v0.49.4"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-11490.json"
}
}
],
"modified": "2026-10-20T10:49:59.437542353Z",
"provider": "osv",
"references": [
"https://github.com/pts/sam2p/issues/38",
"https://lists.debian.org/debian-lts-announce/2022/12/msg00008.html",
"https://usn.ubuntu.com/4107-1/"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:giflib_project:giflib:*:*:*:*:*:*:*:*"
],
"vendor_product": "giflib_project:giflib",
"extracted_events": [
{
"range": [
{
"introduced": "3.0"
},
{
"last_affected": "3.1.1"
}
],
"source": "CPE_RANGE"
}
]
},
{
"cpes": [
"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*"
],
"vendor_product": "canonical:ubuntu_linux",
"extracted_events": [
{
"range": [
{
"introduced": "16.04"
},
{
"last_affected": "16.04"
},
{
"introduced": "18.04"
},
{
"last_affected": "18.04"
},
{
"introduced": "19.04"
},
{
"last_affected": "19.04"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "10.0"
},
{
"last_affected": "10.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-11490",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 381108,
"published_at": "2018-05-26T18:29:00.277+00:00"
}