{"schemaVersion":3,"id":"CVE-2022-28506","aliases":["ALPINE-CVE-2022-28506","MGASA-2022-0275","UBUNTU-CVE-2022-28506","DEBIAN-CVE-2022-28506","CGA-fwfw-4cc8-c47h","CGA-w3fh-j322-jxww"],"status":"published","duplicateOf":null,"title":null,"description":"There is a heap-buffer-overflow in GIFLIB 5.2.1 function DumpScreen2RGB() in gif2rgb.c:298:45.","dates":{"published":"2022-04-25T12:53:01.000Z","modified":"2024-08-03T05:56:15.548Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01253,"percentile":0.6903,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01253},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01253,"percentile":0.6903}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01253,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01253,"percentile":0.6903}]},"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_VERF1SH_POC","name":"Poc","source":"github","url":"https://github.com/verf1sh/Poc/blob/master/poc_ppm","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_C94177E27AC07D03","name":"Exploit Reference (sourceforge.net)","source":"reference","url":"https://sourceforge.net/p/giflib/bugs/159/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"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":"alpine","product":"giflib","name":"giflib","label":"giflib","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/giflib","purlType":"apk","versions":[{"text":"< 5.2.1-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.2.1-r2","eol":null,"hubHref":null},{"vendor":"chainguard","product":"giflib","name":"giflib","label":"giflib","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/giflib","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"giflib","name":"giflib","label":"giflib","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/giflib","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"giflib","name":"giflib","label":"giflib","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/giflib","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 5.2.2-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 5.2.2-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+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 5.1.4-2ubuntu0.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 5.1.9-1ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 5.1.9-2ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.1.4-0.3~16.04.1+esm1 | < 5.1.4-2ubuntu0.1+esm1 | < 5.1.9-1ubuntu0.1 | < 5.1.9-2ubuntu0.1","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"35","noFixRecorded":false,"fixedIn":null},{"text":"36","noFixRecorded":false,"fixedIn":null}],"versionsText":"35 | 36","eol":{"isEol":true,"eolDate":"2022-12-13T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"35","label":"35","eolFrom":"2022-12-13T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"giflib_project","product":"giflib","name":"giflib","label":"giflib","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"5.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"5.2.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.2.1-5.1.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.2.1-5.1.mga8","eol":null,"hubHref":null},{"vendor":"mageia","product":"mingw-giflib","name":"mingw-giflib","label":"mingw-giflib","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/mingw-giflib","purlType":"rpm","versions":[{"text":"< 5.2.1-2.1.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.2.1-2.1.mga8","eol":null,"hubHref":null}],"affectedCount":9,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/verf1sh/Poc/blob/master/giflib_poc","label":"github.com/verf1sh/Poc/blob/master/giflib_poc","hostname":"github.com","tags":["X Refsource MISC","REPORT","EVIDENCE","Exploit","Third Party Advisory"]},{"url":"https://github.com/verf1sh/Poc/blob/master/asan_report_giflib.png","label":"github.com/verf1sh/Poc/blob/master/asan_report_giflib.png","hostname":"github.com","tags":["X Refsource MISC","REPORT","EVIDENCE","Exploit","Third Party Advisory"]},{"url":"https://sourceforge.net/p/giflib/bugs/159/","label":"sourceforge.net/p/giflib/bugs/159/","hostname":"sourceforge.net","tags":["X Refsource MISC","REPORT","EVIDENCE","Exploit","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4CJSHXBD2RS5OJNWSHQZVMTQCCTIPYS/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KEAFUZXOOJJVFYRQM6IIJ7LMLEKCCESG/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","WEB"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-28506","label":"security.alpinelinux.org/vuln/CVE-2022-28506","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2022-0275.html","label":"advisories.mageia.org/MGASA-2022-0275.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=30671","label":"bugs.mageia.org/show_bug.cgi?id=30671","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/B4CJSHXBD2RS5OJNWSHQZVMTQCCTIPYS/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2022-28506","label":"ubuntu.com/security/CVE-2022-28506","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-28506","label":"www.cve.org/CVERecord?id=CVE-2022-28506","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6824-1","label":"ubuntu.com/security/notices/USN-6824-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-28506","label":"security-tracker.debian.org/tracker/CVE-2022-28506","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-28506","label":"nvd.nist.gov/vuln/detail/CVE-2022-28506","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["SUSE-SU-2024:0786-1","SUSE-SU-2024:2607-1","USN-6824-1"],"duplicates":[],"related":["CGA-GRWF-FXVC-RRC2","CGA-X897-CWC3-MMVQ","SUSE-SU-2024:0786-1","SUSE-SU-2024:2607-1","USN-6824-1"]},"timeline":[{"kind":"published","date":"2022-04-25T12:53:01.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T05:56:15.548Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T13:53:54.680Z","stale":false,"partial":false}}