{"id":"UBUNTU-CVE-2026-138158","details":"(libgphoto2 through 2.5.34 contains a stack buffer overflow in sierra_g ...)","modified":"2026-11-30T09:15:28.923346914Z","published":"2026-11-30T00:00:00Z","upstream":["CVE-2026-138158"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-138158"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-138158"},{"type":"REPORT","url":"https://github.com/gphoto/libgphoto2/security/advisories/GHSA-4f44-frcc-8824"}],"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"}]}],"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","2.5.3.1-1ubuntu2.2+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libgphoto2-6","binary_version":"2.5.3.1-1ubuntu2.2+esm1"},{"binary_version":"2.5.3.1-1ubuntu2.2+esm1","binary_name":"libgphoto2-l10n"},{"binary_name":"libgphoto2-port10","binary_version":"2.5.3.1-1ubuntu2.2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-138158.json"}},{"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"}]}],"versions":["2.5.8-1","2.5.8-2","2.5.8-3","2.5.9-2","2.5.9-3","2.5.9-3ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libgphoto2-6","binary_version":"2.5.9-3ubuntu0.1~esm1"},{"binary_version":"2.5.9-3ubuntu0.1~esm1","binary_name":"libgphoto2-l10n"},{"binary_name":"libgphoto2-port12","binary_version":"2.5.9-3ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-138158.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"}]}],"versions":["2.5.14-1","2.5.16-2","2.5.16-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libgphoto2-6","binary_version":"2.5.16-2ubuntu0.1~esm1"},{"binary_version":"2.5.16-2ubuntu0.1~esm1","binary_name":"libgphoto2-l10n"},{"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/cve/2026/UBUNTU-CVE-2026-138158.json"}},{"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"}]}],"versions":["2.5.23-2","2.5.24-1","2.5.25-0ubuntu0.1","2.5.25-0ubuntu0.1+esm1"],"ecosystem_specific":{"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_version":"2.5.25-0ubuntu0.1+esm1","binary_name":"libgphoto2-port12"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-138158.json"}},{"package":{"name":"libgphoto2","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libgphoto2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.27-1","2.5.27-1build1","2.5.27-1build2","2.5.27-1ubuntu0.1","2.5.27-1ubuntu0.2"],"ecosystem_specific":{"binaries":[{"binary_name":"libgphoto2-6","binary_version":"2.5.27-1ubuntu0.2"},{"binary_name":"libgphoto2-l10n","binary_version":"2.5.27-1ubuntu0.2"},{"binary_name":"libgphoto2-port12","binary_version":"2.5.27-1ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-138158.json"}},{"package":{"name":"libgphoto2","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libgphoto2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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","2.5.31-2.1ubuntu1.2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.5.31-2.1ubuntu1.2","binary_name":"libgphoto2-6t64"},{"binary_name":"libgphoto2-l10n","binary_version":"2.5.31-2.1ubuntu1.2"},{"binary_name":"libgphoto2-port12t64","binary_version":"2.5.31-2.1ubuntu1.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-138158.json"}},{"package":{"name":"libgphoto2","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/libgphoto2?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.33-1ubuntu1","2.5.33-1ubuntu2","2.5.33-1ubuntu2.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libgphoto2-6t64","binary_version":"2.5.33-1ubuntu2.1"},{"binary_name":"libgphoto2-l10n","binary_version":"2.5.33-1ubuntu2.1"},{"binary_version":"2.5.33-1ubuntu2.1","binary_name":"libgphoto2-port12t64"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-138158.json"}},{"package":{"name":"libgphoto2","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libgphoto2?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.31-4build1","2.5.32-1","2.5.33-1","2.5.33-1ubuntu1","2.5.33-1ubuntu1.1","2.5.33-1ubuntu1.2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.5.33-1ubuntu1.2","binary_name":"libgphoto2-6t64"},{"binary_name":"libgphoto2-l10n","binary_version":"2.5.33-1ubuntu1.2"},{"binary_name":"libgphoto2-port12t64","binary_version":"2.5.33-1ubuntu1.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-138158.json"}}],"schema_version":"1.9.2","severity":[{"type":"Ubuntu","score":"medium","source":"SELF"}]}