{"id":"UBUNTU-CVE-2020-21428","details":"Buffer Overflow vulnerability in function LoadRGB in PluginDDS.cpp in FreeImage 3.18.0 allows remote attackers to run arbitrary code and cause other impacts via crafted image file.","modified":"2026-04-22T12:32:26.480895Z","published":"2023-08-22T19:16:00Z","related":["USN-6586-1"],"upstream":["CVE-2020-21428"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-21428"},{"type":"REPORT","url":"https://sourceforge.net/p/freeimage/bugs/299/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6586-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-21428"}],"affected":[{"package":{"name":"freeimage","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/freeimage@3.15.4-3ubuntu0.1+esm3?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.15.4-3ubuntu0.1+esm3"}]}],"versions":["3.15.1-2build1","3.15.1-2build2","3.15.4-2","3.15.4-3","3.15.4-3ubuntu0.1","3.15.4-3ubuntu0.1+esm1","3.15.4-3ubuntu0.1+esm2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"libfreeimage3","binary_version":"3.15.4-3ubuntu0.1+esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-21428.json"}},{"package":{"name":"freeimage","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/freeimage@3.17.0+ds1-2ubuntu0.1+esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.17.0+ds1-2ubuntu0.1+esm1"}]}],"versions":["3.15.4-4.1build1","3.15.4-6","3.17.0+ds1-1.1","3.17.0+ds1-2","3.17.0+ds1-2ubuntu0.1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"3.17.0+ds1-2ubuntu0.1+esm1","binary_name":"libfreeimage3"},{"binary_name":"libfreeimageplus3","binary_version":"3.17.0+ds1-2ubuntu0.1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-21428.json"}},{"package":{"name":"freeimage","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/freeimage@3.17.0+ds1-5+deb9u1ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.17.0+ds1-5+deb9u1ubuntu0.1~esm1"}]}],"versions":["3.17.0+ds1-5build2","3.17.0+ds1-5+deb9u1build0.18.04.1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"3.17.0+ds1-5+deb9u1ubuntu0.1~esm1","binary_name":"libfreeimage3"},{"binary_name":"libfreeimageplus3","binary_version":"3.17.0+ds1-5+deb9u1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-21428.json"}},{"package":{"name":"freeimage","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/freeimage@3.18.0+ds2-1ubuntu3.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.18.0+ds2-1ubuntu3.1"}]}],"versions":["3.18.0+ds2-1ubuntu1","3.18.0+ds2-1ubuntu2","3.18.0+ds2-1ubuntu3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libfreeimage3","binary_version":"3.18.0+ds2-1ubuntu3.1"},{"binary_name":"libfreeimageplus3","binary_version":"3.18.0+ds2-1ubuntu3.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-21428.json"}},{"package":{"name":"freeimage","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/freeimage@3.18.0+ds2-6ubuntu5.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.18.0+ds2-6ubuntu5.1"}]}],"versions":["3.18.0+ds2-6ubuntu3","3.18.0+ds2-6ubuntu4","3.18.0+ds2-6ubuntu5"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libfreeimage3","binary_version":"3.18.0+ds2-6ubuntu5.1"},{"binary_name":"libfreeimageplus3","binary_version":"3.18.0+ds2-6ubuntu5.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-21428.json"}},{"package":{"name":"freeimage","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/freeimage@3.18.0+ds2-10build4?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.18.0+ds2-10build4"}]}],"versions":["3.18.0+ds2-9.1","3.18.0+ds2-10","3.18.0+ds2-10build2","3.18.0+ds2-10build3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libfreeimage3","binary_version":"3.18.0+ds2-10build4"},{"binary_name":"libfreeimageplus3","binary_version":"3.18.0+ds2-10build4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-21428.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:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}