THREATOPS
THREAT OPS › Threat News › [NVD] CVE-2026-40339 (MEDIUM 5.2) — libgphoto2 is a camera access and control library. Versions up to and including 2.5.33 have an out-of-bounds read in `ptp_unpack_Sony_DPD()` in `camlibs/ptp2/ptp-pack.c` (line 842). The function reads the FormFlag byte via `dtoh8o(data, *poffset)` without a prior bounds check. Th

[NVD] CVE-2026-40339 (MEDIUM 5.2) — libgphoto2 is a camera access and control library. Versions up to and including 2.5.33 have an out-of-bounds read in `ptp_unpack_Sony_DPD()` in `camlibs/ptp2/ptp-pack.c` (line 842). The function reads the FormFlag byte via `dtoh8o(data, *poffset)` without a prior bounds check. Th

lownvdPublished 2026-04-18

CVE-2026-40339 CVSS: 5.2 MEDIUM Published: 2026-04-18T00:16:37.947

libgphoto2 is a camera access and control library. Versions up to and including 2.5.33 have an out-of-bounds read in `ptp_unpack_Sony_DPD()` in `camlibs/ptp2/ptp-pack.c` (line 842). The function reads the FormFlag byte via `dtoh8o(data, *poffset)` without a prior bounds check. The standard `ptp_unpack_DPD()` at lines 686–687 corre

Indicators of compromise

Original source: https://nvd.nist.gov/vuln/detail/CVE-2026-40339