{"schemaVersion":3,"id":"CVE-2018-11489","aliases":["UBUNTU-CVE-2018-11489","DEBIAN-CVE-2018-11489"],"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 CrntCode array index is not checked. This will lead to a denial of service or possibly unspecified other impact.","dates":{"published":"2018-05-26T18:00:00.000Z","modified":"2024-08-05T08:10:14.560Z","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.02466,"percentile":0.84268,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":-0.09199999999999972,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.02558},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02466,"percentile":0.84268}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02466,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02466,"percentile":0.84268}]},"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":[{"id":"GITHUB_PTS_SAM2P","name":"Sam2P","source":"github","url":"https://github.com/pts/sam2p/issues/14","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"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":"debian","product":"giflib","name":"giflib","label":"giflib","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/giflib","purlType":"deb","versions":[{"text":"< 4.1.4-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.1.4-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},{"text":"< 5.1.9-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.1.4-0.3~16.04.1 | < 5.1.4-2ubuntu0.1 | < 5.1.9-1","eol":null,"hubHref":null},{"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":"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":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.securityfocus.com/bid/104341","label":"www.securityfocus.com/bid/104341","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"https://github.com/pts/sam2p/issues/37","label":"github.com/pts/sam2p/issues/37","hostname":"github.com","tags":["X Refsource MISC","Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://ubuntu.com/security/CVE-2018-11489","label":"ubuntu.com/security/CVE-2018-11489","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-11489","label":"www.cve.org/CVERecord?id=CVE-2018-11489","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-11489","label":"security-tracker.debian.org/tracker/CVE-2018-11489","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-05-26T18:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T08:10:14.560Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":46,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T14:17:27.535Z","stale":false,"partial":false}}