{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "502bd2b013ce635f21632d523aa8cf2e04f7b7ac"
            }
          ],
          "repo": "https://github.com/pointcloudlibrary/pcl",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Out-of-bounds Write vulnerability in PointCloudLibrary pcl allows Overflow Buffers. Since version 1.14.0, PCL by default uses a zlib installation from the system, unless the user sets WITH_SYSTEM_ZLIB=FALSE. So this potential vulnerability is only relevant if the PCL version is older than 1.14.0 or the user specifically requests to not use the system zlib.",
  "id": "CVE-2025-4640",
  "modified": "2026-03-13T21:48:50.733232628Z",
  "published": "2025-05-14T19:15:53.557Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/PointCloudLibrary/pcl/blob/master/surface/CMakeLists.txt#L70"
    },
    {
      "type": "FIX",
      "url": "https://github.com/PointCloudLibrary/pcl/commit/502bd2b013ce635f21632d523aa8cf2e04f7b7ac"
    },
    {
      "type": "FIX",
      "url": "https://github.com/PointCloudLibrary/pcl/pull/6246"
    }
  ],
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:U/V:C/RE:L/U:Amber",
      "type": "CVSS_V4"
    }
  ]
}