USN-8586-1

Type: Security
Severity: Medium
Published: 2026-07-22
Ubuntu 24.04 LTS (Noble Numbat)
Ubuntu 26.04 LTS (Resolute Raccoon)
Ubuntu 22.04 LTS (Jammy Jellyfish)

It was discovered that libgphoto2 did not properly validate buffer boundaries when parsing EOS image format data. An attacker with physical access could possibly use this issue to obtain sensitive information. (CVE-2026-40333) It was discovered that libgphoto2 did not properly null-terminate buffers when parsing Canon folder entries. An attacker with physical access could possibly use this issue to obtain sensitive information. (CVE-2026-40334) It was discovered that libgphoto2 did not properly validate buffer boundaries when parsing device property values. An attacker with physical access could possibly use this issue to obtain sensitive information. (CVE-2026-40335) It was discovered that libgphoto2 had a memory leak when parsing Sony device property descriptors. An attacker with physical access could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-40336) It was discovered that libgphoto2 did not properly validate buffer boundaries when parsing Sony device property enumeration data. An attacker with physical access could possibly use this issue to obtain sensitive information. (CVE-2026-40338) It was discovered that libgphoto2 did not properly validate buffer boundaries when parsing Sony device property form flags. An attacker with physical access could possibly use this issue to obtain sensitive information. (CVE-2026-40339) It was discovered that libgphoto2 did not properly validate buffer boundaries when parsing object information. An attacker with physical access could possibly use this issue to obtain sensitive information. (CVE-2026-40340) It was discovered that libgphoto2 did not properly validate buffer boundaries when parsing EOS focus information. An attacker with physical access could possibly use this issue to cause libgphoto2 to crash, resulting in a denial of service. (CVE-2026-40341) Update Instructions: Run `sudo pro fix USN-8586-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libgphoto2-6t64 - 2.5.31-2.1ubuntu1.1 libgphoto2-l10n - 2.5.31-2.1ubuntu1.1 libgphoto2-port12t64 - 2.5.31-2.1ubuntu1.1 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T00:47:41.838Z UTC

Official vendor advisory

Ubuntu 24.04 LTS (Noble Numbat)

View source
Observed 2026-11-28T00:47:41.838Z UTC. Last updated 2026-07-23T17:54:41.592Z UTC.

Upstream Advisory

Affected Packages

  • libgphoto2-6t64 2.5.31-2.1ubuntu1.1-2.5.31-2.1ubuntu1.1

  • libgphoto2-l10n 2.5.31-2.1ubuntu1.1-2.5.31-2.1ubuntu1.1

  • libgphoto2-port12t64 2.5.31-2.1ubuntu1.1-2.5.31-2.1ubuntu1.1

  • libgphoto2-6t64 2.5.33-1ubuntu1.1-2.5.33-1ubuntu1.1

  • libgphoto2-l10n 2.5.33-1ubuntu1.1-2.5.33-1ubuntu1.1

  • libgphoto2-port12t64 2.5.33-1ubuntu1.1-2.5.33-1ubuntu1.1

  • libgphoto2-6 2.5.27-1ubuntu0.1-2.5.27-1ubuntu0.1

  • libgphoto2-l10n 2.5.27-1ubuntu0.1-2.5.27-1ubuntu0.1

  • libgphoto2-port12 2.5.27-1ubuntu0.1-2.5.27-1ubuntu0.1

Interested in being alerted when there are new versions of libgphoto2-6t64 and the other packages? Set up an alert.