CVE-2026-40336Disclosure

LOWCVSS 2.4 · LOW

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 a memory leak in `ptp_unpack_Sony_DPD()` in `camlibs/ptp2/ptp-pack.c` (lines 884–885). When processing a secondary enumeration list (introduced in 2024+ Sony cameras), the function overwrites dpd->FORM.Enum.SupportedValue with a new calloc() without freeing the previous allocation from line 857. The original array and any string values it contains are leaked on every property descriptor parse. Commit 404ff02c75f3cb280196fc260a63c4d26cf1a8f6 fixes the issue.

0.0/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-401

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-40336 libgphoto2 is a camera access and control library. Versions up to and including 2.5.33 have a memory leak in `ptp_unpack_Sony_DPD()` in `camlibs/ptp2/ptp-pack.c` (lin… https://www.cve.org/CVERecord?id=CVE-2026-40336

    Post summary

    The text announces a memory-leak vulnerability (CVE-2026-40336) affecting libgphoto2 up to version 2.5.33, with no evidence of exploitation, PoC, or remediation presented.

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

    CVE-2026-40336 Memory Leak in libgphoto2 ptp_unpack_Sony_DPD() Function Versions 2.5.33 https://vulmon.com/vulnerabilitydetails?qid=CVE-2026-40336

    Post summary

    The post announces a memory‑leak vulnerability (CVE‑2026‑40336) in libgphoto2 ptp_unpack_Sony_DPD() affecting version 2.5.33, with no PoC, exploit, or patch mentioned.

    0000058
    4.0K followersView on X

Explore more