CVE-2026-40339Disclosure

LOWCVSS 5.2 · MEDIUM

Signal is active with 2 mentions in latest observed window

Immediate actions

  • Track advisory updates for patch or workaround availability

Recommended action window: Monitor and triage in normal cycle

NVD description

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 correctly validates `*offset + sizeof(uint8_t) > dpdlen` before this same read, but the Sony variant omits this check entirely. Commit 09f8a940b1e418b5693f5c11e3016a1ad2cea62d fixes the issue.

0.0/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-125

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

NONE

Momentum

NONE

Threat summary

  • 2 mentions across 1 observed day

What's happening

  • Technical details provided in 2 signals
  • Disclosure: 2 classified signals
  • 2 total mentions across 1 day

Deep dive

Activity timeline2 mentions / 1d
01122Mentions · 2026-04-18: 2Technical Details · 2026-04-18: 204-18
Signal classification1 categories
Disclosure
2100.0%
Referenced assets2 URLs
Full discourse2 posts
  • CVE@CVEnew
    Disclosure

    CVE-2026-40339 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… https://www.cve.org/CVERecord?id=CVE-2026-40339

    Post summary

    The text identifies CVE‑2026‑40339, describes the out‑of‑bounds read vulnerability in libgphoto2’s ptp_unpack_Sony_DPD() function, and provides a link to the official CVE record, but offers no evidence of exploitation, PoC, or patches.

    0000090
    57.2K followersView on X
  • Vulmon Vulnerability Feed@VulmonFeeds
    Disclosure

    CVE-2026-40339 Out-of-Bounds Read in libgphoto2 2.5.33 Sony DPD Unpacking Function https://vulmon.com/vulnerabilitydetails?qid=CVE-2026-40339

    Post summary

    A recent disclosure of an out-of-bounds read vulnerability in libgphoto2 2.5.33 affecting Sony DPD unpacking function, with no PoC, exploit, or patch discussed.

    0000052
    4.0K followersView on X

Explore more