{"id":"USN-9017-1","summary":"libgphoto2 vulnerabilities","details":"It was discovered that libgphoto2 did not properly manage memory when\ninitializing certain cameras. If a user were tricked into connecting a\nmalicious USB device, an attacker could possibly use this issue to cause\nlibgphoto2 to crash, resulting in a denial of service, or possibly execute\narbitrary code. (CVE-2026-120451)\n\nIt was discovered that libgphoto2 did not properly manage memory when\nprocessing certain thumbnails. If a user were tricked into connecting a\nmalicious USB device, an attacker could possibly use this issue to cause\nlibgphoto2 to crash, resulting in a denial of service, or expose sensitive\ninformation. (CVE-2026-120452)","modified":"2026-11-11T09:44:40.035134977Z","published":"2026-11-10T06:01:57Z","related":["UBUNTU-CVE-2026-120451","UBUNTU-CVE-2026-120452"],"upstream":["CVE-2026-120451","CVE-2026-120452","UBUNTU-CVE-2026-120451","UBUNTU-CVE-2026-120452"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9017-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-120451"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-120452"}],"affected":[{"package":{"name":"libgphoto2","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libgphoto2?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.3.1-1ubuntu2.2+esm1"}]}],"versions":["2.5.2-0ubuntu5","2.5.2-0ubuntu6","2.5.3.1-0ubuntu1","2.5.3.1-1ubuntu2","2.5.3.1-1ubuntu2.2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.5.3.1-1ubuntu2.2+esm1","binary_name":"libgphoto2-6"},{"binary_version":"2.5.3.1-1ubuntu2.2+esm1","binary_name":"libgphoto2-l10n"},{"binary_version":"2.5.3.1-1ubuntu2.2+esm1","binary_name":"libgphoto2-port10"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9017-1.json","cves_map":{"cves":[{"id":"CVE-2026-120451","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"score":"CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","type":"CVSS_V4"},{"score":"medium","type":"Ubuntu"}]},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H"},{"score":"CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N","type":"CVSS_V4"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2026-120452"}],"ecosystem":"Ubuntu:Pro:14.04:LTS"}}},{"package":{"name":"libgphoto2","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libgphoto2?arch=source&distro=esm-infra-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.9-3ubuntu0.1~esm1"}]}],"versions":["2.5.8-1","2.5.8-2","2.5.8-3","2.5.9-2","2.5.9-3"],"ecosystem_specific":{"binaries":[{"binary_version":"2.5.9-3ubuntu0.1~esm1","binary_name":"libgphoto2-6"},{"binary_version":"2.5.9-3ubuntu0.1~esm1","binary_name":"libgphoto2-l10n"},{"binary_version":"2.5.9-3ubuntu0.1~esm1","binary_name":"libgphoto2-port12"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2026-120451","severity":[{"score":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2026-120452","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:16.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9017-1.json"}},{"package":{"name":"libgphoto2","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/libgphoto2?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.16-2ubuntu0.1~esm1"}]}],"versions":["2.5.14-1","2.5.16-2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"libgphoto2-6","binary_version":"2.5.16-2ubuntu0.1~esm1"},{"binary_name":"libgphoto2-l10n","binary_version":"2.5.16-2ubuntu0.1~esm1"},{"binary_name":"libgphoto2-port12","binary_version":"2.5.16-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9017-1.json","cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"score":"CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","type":"CVSS_V4"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2026-120451"},{"severity":[{"score":"CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H","type":"CVSS_V3"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2026-120452"}],"ecosystem":"Ubuntu:Pro:18.04:LTS"}}},{"package":{"name":"libgphoto2","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/libgphoto2?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.25-0ubuntu0.1+esm1"}]}],"versions":["2.5.23-2","2.5.24-1","2.5.25-0ubuntu0.1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"libgphoto2-6","binary_version":"2.5.25-0ubuntu0.1+esm1"},{"binary_version":"2.5.25-0ubuntu0.1+esm1","binary_name":"libgphoto2-l10n"},{"binary_name":"libgphoto2-port12","binary_version":"2.5.25-0ubuntu0.1+esm1"}]},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2026-120451","severity":[{"score":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"},{"score":"medium","type":"Ubuntu"}]},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H"},{"score":"CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N","type":"CVSS_V4"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2026-120452"}],"ecosystem":"Ubuntu:Pro:20.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9017-1.json"}},{"package":{"name":"libgphoto2","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libgphoto2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.27-1ubuntu0.2"}]}],"versions":["2.5.27-1","2.5.27-1build1","2.5.27-1build2","2.5.27-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libgphoto2-6","binary_version":"2.5.27-1ubuntu0.2"},{"binary_version":"2.5.27-1ubuntu0.2","binary_name":"libgphoto2-l10n"},{"binary_name":"libgphoto2-port12","binary_version":"2.5.27-1ubuntu0.2"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:22.04:LTS","cves":[{"id":"CVE-2026-120451","severity":[{"score":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","type":"CVSS_V4"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2026-120452","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9017-1.json"}},{"package":{"name":"libgphoto2","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libgphoto2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.31-2.1ubuntu1.2"}]}],"versions":["2.5.30-1","2.5.31-1","2.5.31-2","2.5.31-2.1build1","2.5.31-2.1build2","2.5.31-2.1ubuntu1","2.5.31-2.1ubuntu1.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libgphoto2-6t64","binary_version":"2.5.31-2.1ubuntu1.2"},{"binary_name":"libgphoto2-l10n","binary_version":"2.5.31-2.1ubuntu1.2"},{"binary_version":"2.5.31-2.1ubuntu1.2","binary_name":"libgphoto2-port12t64"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9017-1.json","cves_map":{"ecosystem":"Ubuntu:24.04:LTS","cves":[{"id":"CVE-2026-120451","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2026-120452","severity":[{"score":"CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H","type":"CVSS_V3"},{"score":"CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N","type":"CVSS_V4"},{"score":"medium","type":"Ubuntu"}]}]}}},{"package":{"name":"libgphoto2","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/libgphoto2?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.33-1ubuntu2.1"}]}],"versions":["2.5.33-1ubuntu1","2.5.33-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"libgphoto2-6t64","binary_version":"2.5.33-1ubuntu2.1"},{"binary_version":"2.5.33-1ubuntu2.1","binary_name":"libgphoto2-l10n"},{"binary_name":"libgphoto2-port12t64","binary_version":"2.5.33-1ubuntu2.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9017-1.json","cves_map":{"cves":[{"id":"CVE-2026-120451","severity":[{"score":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","type":"CVSS_V4"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2026-120452","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:26.10"}}},{"package":{"name":"libgphoto2","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libgphoto2?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.33-1ubuntu1.2"}]}],"versions":["2.5.31-4build1","2.5.32-1","2.5.33-1","2.5.33-1ubuntu1","2.5.33-1ubuntu1.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libgphoto2-6t64","binary_version":"2.5.33-1ubuntu1.2"},{"binary_version":"2.5.33-1ubuntu1.2","binary_name":"libgphoto2-l10n"},{"binary_name":"libgphoto2-port12t64","binary_version":"2.5.33-1ubuntu1.2"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:26.04:LTS","cves":[{"severity":[{"score":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2026-120451"},{"id":"CVE-2026-120452","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N"},{"score":"medium","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9017-1.json"}}],"schema_version":"1.9.2"}