{"schemaVersion":3,"id":"CVE-2018-11490","aliases":["MGASA-2019-0096","UBUNTU-CVE-2018-11490","DEBIAN-CVE-2018-11490","openSUSE-SU-2024:10784-1"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2018-05-26T00:00:00.000Z","modified":"2024-08-05T08:10:14.636Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true}]},"epss":{"probability":0.02448,"percentile":0.84127,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02448},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02448,"percentile":0.84127}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02448,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02448,"percentile":0.84127}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-129","name":"Improper Validation of Array Index","description":"The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/129.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"16.04","noFixRecorded":false,"fixedIn":null},{"text":"18.04","noFixRecorded":false,"fixedIn":null},{"text":"19.04","noFixRecorded":false,"fixedIn":null}],"versionsText":"16.04 | 18.04 | 19.04","eol":{"isEol":true,"eolDate":"2021-04-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"16.04","label":"16.04 'Xenial Xerus' (LTS)","eolFrom":"2021-04-02T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"16.04.7"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"giflib","name":"giflib","label":"giflib","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/giflib","purlType":"deb","versions":[{"text":"< 5.1.9-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.1.9-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"giflib","name":"giflib","label":"giflib","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/giflib","purlType":"deb","versions":[{"text":"< 5.1.4-0.3~16.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 5.1.4-2ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.1.4-0.3~16.04.1 | < 5.1.4-2ubuntu0.1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.0","eol":{"isEol":true,"eolDate":"2024-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"10","label":"10 (Buster)","eolFrom":"2024-06-30T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"10.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"giflib_project","product":"giflib","name":"giflib","label":"giflib","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.0, ≤ 3.1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.0, ≤ 3.1.1","eol":null,"hubHref":"/vendor/giflib_project/giflib"},{"vendor":"mageia","product":"giflib","name":"giflib","label":"giflib","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/giflib","purlType":"rpm","versions":[{"text":"< 5.1.6-1.mga6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.1.6-1.mga6","eol":null,"hubHref":null},{"vendor":"opensuse","product":"giflib&distro=openSUSE Tumbleweed","name":"giflib","label":"giflib&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/giflib&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 5.2.1-2.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.2.1-2.3","eol":null,"hubHref":null},{"vendor":"sam2p_project","product":"sam2p","name":"sam2p","label":"sam2p","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"0.49.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"0.49.4","eol":null,"hubHref":"/vendor/sam2p_project/sam2p"}],"affectedCount":8,"eol":{"hasEol":true,"count":2},"references":[{"url":"http://www.securityfocus.com/bid/104327","label":"www.securityfocus.com/bid/104327","hostname":"www.securityfocus.com","tags":["VDB Entry","Third Party Advisory"]},{"url":"https://github.com/pts/sam2p/issues/38","label":"github.com/pts/sam2p/issues/38","hostname":"github.com","tags":["Third Party Advisory"]},{"url":"https://usn.ubuntu.com/4107-1/","label":"usn.ubuntu.com/4107-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00008.html","label":"lists.debian.org/debian-lts-announce/2022/12/msg00008.html","hostname":"lists.debian.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2019-0096.html","label":"advisories.mageia.org/MGASA-2019-0096.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=24378","label":"bugs.mageia.org/show_bug.cgi?id=24378","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://sourceforge.net/p/giflib/code/ci/master/tree/NEWS","label":"sourceforge.net/p/giflib/code/ci/master/tree/NEWS","hostname":"sourceforge.net","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2018-11490","label":"ubuntu.com/security/CVE-2018-11490","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4107-1","label":"ubuntu.com/security/notices/USN-4107-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-11490","label":"www.cve.org/CVERecord?id=CVE-2018-11490","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-11490","label":"security-tracker.debian.org/tracker/CVE-2018-11490","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2018-11490","label":"www.suse.com/security/cve/CVE-2018-11490","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["DLA-3223-1","SUSE-SU-2022:1565-1","SUSE-SU-2023:1970-2","SUSE-SU-2024:1622-1","USN-4107-1"],"duplicates":[],"related":["SUSE-SU-2022:1565-1","SUSE-SU-2023:1970-2","SUSE-SU-2024:1622-1","USN-4107-1"]},"timeline":[{"kind":"published","date":"2018-05-26T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T08:10:14.636Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T22:58:44.159Z","stale":false,"partial":false}}