Advisory

USN-9017-1

Also known as: CVE-2026-120451, CVE-2026-120452

Summary

libgphoto2 vulnerabilities

Details

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)

Severity

Not rated by the source.

Dates

Published
2026-11-10 06:01 UTC
Modified
2026-11-11 09:44 UTC

Affected packages and fixes

libgphoto2

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.5.27-1ubuntu0.2 (ecosystem)

Fixed versions

2.5.27-1ubuntu0.2

Fix

  • Fixed version 2.5.27-1ubuntu0.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libgphoto2

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2.5.31-2.1ubuntu1.2 (ecosystem)

Fixed versions

2.5.31-2.1ubuntu1.2

Fix

  • Fixed version 2.5.31-2.1ubuntu1.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libgphoto2

Debian packages (deb) · Ubuntu 26.10

Affected

  • introduced 0, fixed 2.5.33-1ubuntu2.1 (ecosystem)

Fixed versions

2.5.33-1ubuntu2.1

Fix

  • Fixed version 2.5.33-1ubuntu2.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libgphoto2

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 2.5.33-1ubuntu1.2 (ecosystem)

Fixed versions

2.5.33-1ubuntu1.2

Fix

  • Fixed version 2.5.33-1ubuntu1.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences