CVE-2026-40335 — Out-of-Bounds $1
Image via images.unsplash.com
CVE-2026-40335 — 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_DPV()` in `camlibs/ptp2/ptp-pack.c` (lines 622–629). The UINT128 and INT128 cases advance `*offset += 16` without verifying that 16 bytes remain in the bu
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-40335 updates and patches.
Related ATT&CK Techniques
🛡️ Detection Rules
1 rules · 6 SIEM formats1 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-40335 - libgphoto2 PTP Unpack Out-of-Bounds Read
Sigma YAML — free preview
Indicators of Compromise
| ID | Type | Indicator |
|---|---|---|
| CVE-2026-40335 | vulnerability | CVE-2026-40335 |
| 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.