Skip to main content
VulnerabilityPublished Updated

CVE-2026-40333: libgphoto2 vulnerabilities

Affects libgphoto2Source GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2026-40333· Medium 6.1

Not known to be exploited · CVSS 6.1 Medium · fixed in 2.5.27-1ubuntu0.1 : update libgphoto2 when convenient.

Data as of 24 Nov 2026, 17:39 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2.5.27-1ubuntu0.1, 2.5.31-2.1ubuntu1.1, 2.5.33-1ubuntu1.1
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade the Ubuntu libgphoto2 to 2.5.27-1ubuntu0.1 (package) or 2.5.31-2.1ubuntu1.1 (package) or 2.5.33-1ubuntu1.1 (package).

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSlibgphoto2pkg:deb/ubuntu/libgphoto2?arch=source&distro=resoluteOther threatsAffected
  • <2.5.33-1ubuntu1.1
Fixed in
  • 2.5.33-1ubuntu1.1
Ubuntu 24.04 LTSlibgphoto2pkg:deb/ubuntu/libgphoto2?arch=source&distro=nobleOther threatsAffected
  • <2.5.31-2.1ubuntu1.1
Fixed in
  • 2.5.31-2.1ubuntu1.1
Ubuntu 22.04 LTSlibgphoto2pkg:deb/ubuntu/libgphoto2?arch=source&distro=jammyOther threatsAffected
  • <2.5.27-1ubuntu0.1
Fixed in
  • 2.5.27-1ubuntu0.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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)

References

Community reviews

Loading reviews…