{"id":"UBUNTU-CVE-2022-28506","details":"There is a heap-buffer-overflow in GIFLIB 5.2.1 function DumpScreen2RGB() in gif2rgb.c:298:45.","modified":"2026-04-22T15:29:35.792298Z","published":"2022-04-25T13:15:00Z","related":["USN-6824-1"],"upstream":["CVE-2022-28506"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-28506"},{"type":"REPORT","url":"https://github.com/verf1sh/Poc/blob/master/asan_report_giflib.png"},{"type":"REPORT","url":"https://github.com/verf1sh/Poc/blob/master/giflib_poc"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-28506"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6824-1"}],"affected":[{"package":{"name":"giflib","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/giflib@5.1.4-0.3~16.04.1+esm1?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.4-0.3~16.04.1+esm1"}]}],"versions":["4.1.6-11","5.1.1-0ubuntu1","5.1.1-0.1","5.1.1-0.2","5.1.2-0.1","5.1.2-0.2","5.1.4-0.3~16.04","5.1.4-0.3~16.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"giflib-tools","binary_version":"5.1.4-0.3~16.04.1+esm1"},{"binary_name":"libgif7","binary_version":"5.1.4-0.3~16.04.1+esm1"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-28506.json"}},{"package":{"name":"giflib","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/giflib@5.1.4-2ubuntu0.1+esm1?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.4-2ubuntu0.1+esm1"}]}],"versions":["5.1.4-1","5.1.4-2","5.1.4-2ubuntu0.1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"giflib-tools","binary_version":"5.1.4-2ubuntu0.1+esm1"},{"binary_name":"libgif7","binary_version":"5.1.4-2ubuntu0.1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-28506.json"}},{"package":{"name":"giflib","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/giflib@5.1.9-1ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.9-1ubuntu0.1"}]}],"versions":["5.1.4-3ubuntu1","5.1.9-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"giflib-tools","binary_version":"5.1.9-1ubuntu0.1"},{"binary_version":"5.1.9-1ubuntu0.1","binary_name":"libgif7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-28506.json"}},{"package":{"name":"giflib","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/giflib@5.1.9-2ubuntu0.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.9-2ubuntu0.1"}]}],"versions":["5.1.9-2build1","5.1.9-2build2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"giflib-tools","binary_version":"5.1.9-2ubuntu0.1"},{"binary_name":"libgif7","binary_version":"5.1.9-2ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-28506.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"low"}]}