CVE-2026-40338 — Out-of-Bounds $1
CVE-2026-40338 — libgphoto2 is a camera access and control library. Versions up to and including 2.5.33 have an out-of-bounds read in the PTP_DPFF_Enumeration case of `ptp_unpack_Sony_DPD()` in `camlibs/ptp2/ptp-pack.c` (line 856). The function reads a 2-byte enumeration count N via `dtoh16o(data, *
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-40338 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-40338 - libgphoto2 Out-of-Bounds Read in Sony DPD Enumeration
Sigma YAML — free preview
Indicators of Compromise
| ID | Type | Indicator |
|---|---|---|
| CVE-2026-40338 | vulnerability | CVE-2026-40338 |
| 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.