{
  "cveId": "CVE-2026-40334",
  "url": "https://patchblox.com/security/cve/CVE-2026-40334",
  "summary": "CVE-2026-40334 is fixed in 6 products on 1 platform, first by libgphoto2-6 2.5.27-1ubuntu0.1, released April 17, 2026. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "libgphoto2-6: libgphoto2 is a camera access and control library",
  "description": "libgphoto2 is a camera access and control library. In versions up to and including 2.5.33, a missing null terminator exists in ptp_unpack_Canon_FE() in camlibs/ptp2/ptp-pack.c (line 1377). The function copies a filename into a 13-byte buffer using strncpy without explicitly null-terminating the result. If the source data is exactly 13 bytes with no null terminator, the buffer is left unterminated, leading to out-of-bounds reads in any subsequent string operation. Commit 259fc7d3bfe534ce4b114c464f55b448670ab873 patches the issue.",
  "published": "2026-04-17T17:16:00Z",
  "severity": "Medium",
  "cvss": 3.5,
  "cvssVector": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L",
  "epss": 0.00187,
  "epssPercentile": 0.08382,
  "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-40334",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-40334",
      "released": "2026-04-18T00:16:37Z"
    },
    {
      "platform": "linux",
      "product": "libgphoto2-6",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2.5.27-1ubuntu0.1",
      "fix": "libgphoto2-6 2.5.27-1ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-libgphoto2-6-2.5.27-1ubuntu0.1",
      "released": "2026-04-17T17:16:00Z"
    },
    {
      "platform": "linux",
      "product": "libgphoto2-6t64",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "2.5.31-2.1ubuntu1.1",
      "fix": "libgphoto2-6t64 2.5.31-2.1ubuntu1.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-libgphoto2-6t64-2.5.31-2.1ubuntu1.1",
      "released": "2026-04-17T17:16:00Z"
    },
    {
      "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 22.04.1 LTS (jammy)",
      "fixedVersion": "2.5.27-1ubuntu0.1",
      "fix": "libgphoto2-l10n 2.5.27-1ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-libgphoto2-l10n-2.5.27-1ubuntu0.1",
      "released": "2026-04-17T17:16:00Z"
    },
    {
      "platform": "linux",
      "product": "libgphoto2-l10n",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "2.5.31-2.1ubuntu1.1",
      "fix": "libgphoto2-l10n 2.5.31-2.1ubuntu1.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-libgphoto2-l10n-2.5.31-2.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-port12",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2.5.27-1ubuntu0.1",
      "fix": "libgphoto2-port12 2.5.27-1ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-libgphoto2-port12-2.5.27-1ubuntu0.1",
      "released": "2026-04-17T17:16:00Z"
    },
    {
      "platform": "linux",
      "product": "libgphoto2-port12t64",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "2.5.31-2.1ubuntu1.1",
      "fix": "libgphoto2-port12t64 2.5.31-2.1ubuntu1.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-libgphoto2-port12t64-2.5.31-2.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"
  }
}