USN-9017-1: libgphoto2 vulnerabilities
It was discovered that libgphoto2 did not properly manage memory when initializing certain cameras. If a user were tricked into connecting a malicious USB device, an attacker could possibly use this issue to cause libgphoto2 to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2026-120451)
It was discovered that libgphoto2 did not properly manage memory when processing certain thumbnails. If a user were tricked into connecting a malicious USB device, an attacker could possibly use this issue to cause libgphoto2 to crash, resulting in a denial of service, or expose sensitive information. (CVE-2026-120452)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/libgphoto2to a version that resolves this vulnerability.Fixed in 2.5.3.1-1ubuntu2.2+esm1 - Upgrade
Upgrade
ubuntu/libgphoto2to a version that resolves this vulnerability.Fixed in 2.5.9-3ubuntu0.1~esm1 - Upgrade
Upgrade
ubuntu/libgphoto2to a version that resolves this vulnerability.Fixed in 2.5.16-2ubuntu0.1~esm1 - Upgrade
Upgrade
ubuntu/libgphoto2to a version that resolves this vulnerability.Fixed in 2.5.25-0ubuntu0.1+esm1 - Upgrade
Upgrade
ubuntu/libgphoto2to a version that resolves this vulnerability.Fixed in 2.5.27-1ubuntu0.2 - Upgrade
Upgrade
ubuntu/libgphoto2to a version that resolves this vulnerability.Fixed in 2.5.31-2.1ubuntu1.2 - Upgrade
Upgrade
ubuntu/libgphoto2to a version that resolves this vulnerability.Fixed in 2.5.33-1ubuntu2.1 - Upgrade
Upgrade
ubuntu/libgphoto2to a version that resolves this vulnerability.Fixed in 2.5.33-1ubuntu1.2
Event History
Child vulnerabilities
Contains the following vulnerabilities.