CVE-2026-40339 — Out-of-Bounds $1
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.c` (line 842). The function reads the FormFlag byte via `dtoh8o(data, *poffset)` without a prior bounds check. The s
What This Means For You
- If your environment is affected by CWE-125, review your exposure and prioritize patching based on your environment. Monitor vendor advisories for CVE-2026-40339 updates and patches.
Related ATT&CK Techniques
🛡️ Detection Rules
2 rules · 6 SIEM formats2 detection rules auto-generated for this incident, mapped to MITRE ATT&CK. Sigma YAML is free — export to any SIEM format via the Intel Bot.
CVE-2026-40339 - libgphoto2 Out-of-Bounds Read in Sony DPD Unpacking
Sigma YAML — free preview
Indicators of Compromise
| ID | Type | Indicator |
|---|---|---|
| CVE-2026-40339 | vulnerability | CVE-2026-40339 |
| CWE-125 | weakness | CWE-125 |
Source & Attribution
| Source Platform | NVD |
| Channel | National Vulnerability Database |
| Published | April 18, 2026 at 03:16 UTC |
This content was curated and summarized by Shimi's Cyber World for informational purposes. It is not copied or republished in full. All intellectual property rights remain with the original author and source.
Believe this infringes your rights? Submit a takedown request.