USN-9476-1: libgphoto2 vulnerability

Published Dec 3, 2026
·
Updated

It was discovered that libgphoto2 incorrectly handled certain Sierra protocol responses. A malicious camera or USB device could use this issue to cause a stack buffer overflow, resulting in a denial of service or possibly arbitrary code execution.

Affected Software

16 affected componentsFixes available
All of the following
ubuntu/libgphoto2-6t64<2.5.33-1ubuntu2.2
2.5.33-1ubuntu2.2
Ubuntu Ubuntu=26.10
All of the following
ubuntu/libgphoto2-6t64<2.5.33-1ubuntu1.3
2.5.33-1ubuntu1.3
Ubuntu Ubuntu=26.04
All of the following
ubuntu/libgphoto2-6t64<2.5.31-2.1ubuntu1.3
2.5.31-2.1ubuntu1.3
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libgphoto2-6<2.5.27-1ubuntu0.3
2.5.27-1ubuntu0.3
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libgphoto2-6<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=20.04
All of the following
ubuntu/libgphoto2-6<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/libgphoto2-6<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=16.04
All of the following
ubuntu/libgphoto2-6<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=14.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/libgphoto2-6t64 to a version that resolves this vulnerability.

    Fixed in 2.5.33-1ubuntu2.2
  2. Upgrade

    Upgrade ubuntu/libgphoto2-6t64 to a version that resolves this vulnerability.

    Fixed in 2.5.33-1ubuntu1.3
  3. Upgrade

    Upgrade ubuntu/libgphoto2-6t64 to a version that resolves this vulnerability.

    Fixed in 2.5.31-2.1ubuntu1.3
  4. Upgrade

    Upgrade ubuntu/libgphoto2-6 to a version that resolves this vulnerability.

    Fixed in 2.5.27-1ubuntu0.3
  5. Upgrade

    Upgrade ubuntu/libgphoto2-6 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro

Event History

Dec 3, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What would an attacker need to exploit this issue?

An attacker would need to present a malicious camera or USB device that sends crafted Sierra protocol responses to software using the affected libgphoto2 packages.

2

What is the likely impact if exploitation succeeds?

The issue can cause a stack buffer overflow, leading to denial of service and potentially arbitrary code execution.

3

Which Ubuntu packages should be assessed for exposure?

Assess systems with ubuntu/libgphoto2-6 or ubuntu/libgphoto2-6t64 installed, particularly where cameras or other USB devices may be connected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203