PT-2026-33536
CVE-2026-40338
·
Published
2026-04-17
·
Updated
2026-07-22
Description by
CVSS 3.1
6.1
MediumMetricsAV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Name of the Vulnerable Software and Affected Versions
libgphoto2 versions prior to 2.5.34
Description
An out-of-bounds read exists in the PTP DPFF Enumeration case of the
ptp unpack Sony DPD() function within camlibs/ptp2/ptp-pack.c. The function reads a 2-byte enumeration count N via dtoh16o(data, *poffset) without verifying if 2 bytes remain in the buffer.Recommendations
Update to version 2.5.34 or later.
Found an issue in the description? Have something to add? Feel free to write us 👾