{"id":"UBUNTU-CVE-2018-18718","details":"An issue was discovered in gThumb through 3.6.2. There is a double-free vulnerability in the add_themes_from_dir method in dlg-contact-sheet.c because of two successive calls of g_free, each of which frees the same buffer.","modified":"2026-04-22T11:50:38.728202Z","published":"2018-10-29T12:29:00Z","related":["USN-5681-1"],"upstream":["CVE-2018-18718"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-18718"},{"type":"REPORT","url":"https://gitlab.gnome.org/GNOME/gthumb/issues/18"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5681-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-18718"}],"affected":[{"package":{"name":"gthumb","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/gthumb@3:3.4.3-1ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:3.4.3-1ubuntu0.1~esm1"}]}],"versions":["3:3.3.1.is.3.2.8-0ubuntu3","3:3.4.1-2","3:3.4.1-3","3:3.4.1-4","3:3.4.3-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"gthumb","binary_version":"3:3.4.3-1ubuntu0.1~esm1"},{"binary_name":"gthumb-data","binary_version":"3:3.4.3-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-18718.json"}},{"package":{"name":"gthumb","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/gthumb@3:3.6.1-1ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:3.6.1-1ubuntu0.1~esm1"}]}],"versions":["3:3.5.2-2ubuntu1","3:3.5.3-1","3:3.5.4-1","3:3.6.0-1","3:3.6.0-2","3:3.6.0-3","3:3.6.0-4","3:3.6.1-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"gthumb","binary_version":"3:3.6.1-1ubuntu0.1~esm1"},{"binary_version":"3:3.6.1-1ubuntu0.1~esm1","binary_name":"gthumb-data"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-18718.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}