Buffer overflow in Pointcloudlibrary Pcl
CVE-2025-4638
A vulnerability exists in the inftrees.c component of the zlib library, which is bundled within the PointCloudLibrary (PCL). This issue may allow context-dependent attackers to cause undefined behavior by exploiting improper pointer arithmetic.
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.006, 47.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Pointcloudlibrary Pcl — versions 0
- Pointclouds Point Cloud Library
Weakness classification (CWE)
References
- github.com/PointCloudLibrary/pcl/pull/6245 (Patch, patch, Issue Tracking)
- github.com/PointCloudLibrary/pcl/blob/master/surface/CMakeLists.txt (Product)
- github.com/PointCloudLibrary/pcl/commit/502bd2b013ce635f21632d523aa8cf2e04f7b7ac (Patch)