CVE-2026-40334 | gphoto libgphoto2 up to 2.5.33 camlibs/ptp2/ptp-pack.c ptp_unpack_Canon_FE null termination (GHSA-ph87-cc3j-c6hm)

SecurityVulns

A vulnerability classified as problematic was found in gphoto libgphoto2 up to 2.5.33. Affected is the function ptp_unpack_Canon_FE of the file camlibs/ptp2/ptp-pack.c. Such manipulation leads to improper null termination.

This vulnerability is listed as CVE-2026-40334. The attack can be executed directly on the physical device. There is no available exploit.

It is advisable to implement a patch to correct this issue.VulDB Recent EntriesRead More