{
  "cveId": "CVE-2026-40336",
  "url": "https://patchblox.com/security/cve/CVE-2026-40336",
  "summary": "CVE-2026-40336 is fixed in 4 products on 1 platform, first by libgphoto2-6t64 2.5.33-1ubuntu1.1, released April 17, 2026. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "libgphoto2: libgphoto2 is a camera access and control library",
  "description": "libgphoto2 is a camera access and control library. Versions up to and including 2.5.33 have a memory leak in \u0060ptp_unpack_Sony_DPD()\u0060 in \u0060camlibs/ptp2/ptp-pack.c\u0060 (lines 884\u2013885). When processing a secondary enumeration list (introduced in 2024\u002B Sony cameras), the function overwrites dpd-\u003EFORM.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.",
  "published": "2026-04-17T17:16:00Z",
  "severity": "low",
  "cvss": 2.4,
  "cvssVector": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
  "epss": 0.00181,
  "epssPercentile": 0.07732,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "libgphoto2",
      "release": "Debian 14",
      "fixedVersion": "2.5.34-1",
      "fix": "DEBIAN-CVE-2026-40336",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-40336",
      "released": "2026-04-18T00:16:37Z"
    },
    {
      "platform": "linux",
      "product": "libgphoto2-6t64",
      "release": "Ubuntu 26.04.1 LTS (resolute)",
      "fixedVersion": "2.5.33-1ubuntu1.1",
      "fix": "libgphoto2-6t64 2.5.33-1ubuntu1.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-resolute-libgphoto2-6t64-2.5.33-1ubuntu1.1",
      "released": "2026-04-17T17:16:00Z"
    },
    {
      "platform": "linux",
      "product": "libgphoto2-l10n",
      "release": "Ubuntu 26.04.1 LTS (resolute)",
      "fixedVersion": "2.5.33-1ubuntu1.1",
      "fix": "libgphoto2-l10n 2.5.33-1ubuntu1.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-resolute-libgphoto2-l10n-2.5.33-1ubuntu1.1",
      "released": "2026-04-17T17:16:00Z"
    },
    {
      "platform": "linux",
      "product": "libgphoto2-port12t64",
      "release": "Ubuntu 26.04.1 LTS (resolute)",
      "fixedVersion": "2.5.33-1ubuntu1.1",
      "fix": "libgphoto2-port12t64 2.5.33-1ubuntu1.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-resolute-libgphoto2-port12t64-2.5.33-1ubuntu1.1",
      "released": "2026-04-17T17:16:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T06:59:42Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}