CSIRTS // UNIFIED SECURITY ADVISORY FEEDSYS ● ONLINE · POWERED BY INTELFUSIONS.COM

CVE-2026-40336

unknowncovered by 1 sourcefirst seen 2026-07-22
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)

CSIRTS triage

What
libgphoto2 has multiple vulnerabilities that could allow an attacker with physical access to obtain sensitive information or cause a denial of service.
Who is affected
Users with physical access to devices using libgphoto2.
Urgency
Remediation is urgent due to the potential for information disclosure and denial of service.
Action
Update to the latest version of libgphoto2.

AI-assisted analysis generated from the source advisory — verify against the original.

⚡ Watch CVE-2026-40336

Get an email if CVE-2026-40336 is added to CISA KEV, gains public exploit code, or a new advisory cites it — max one per day, one-click unsubscribe.

Exploitation outlook

Advisory coverage (1)

External references

NVD record for CVE-2026-40336

CVE.org record

Embed the live status

CVE-2026-40336 live status badge — this badge updates automatically when the KEV or exploit status changes. How to embed it →

[![CVE-2026-40336 status](https://www.csirts.com/badge/CVE-2026-40336)](https://www.csirts.com/cve/CVE-2026-40336)