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 WITHSYSTEMZLIB=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.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-4638.json"
[
{
"target": {
"file": "surface/include/pcl/surface/3rdparty/opennurbs/opennurbs_zlib.h"
},
"digest": {
"line_hashes": [
"142507249250011048393637035603308527531",
"183792250313666141464654538174142285961",
"322051085261934477892702746723805144375",
"9645395726226507733371715164106126177"
],
"threshold": 0.9
},
"signature_type": "Line",
"deprecated": false,
"source": "https://github.com/pointcloudlibrary/pcl/commit/502bd2b013ce635f21632d523aa8cf2e04f7b7ac",
"signature_version": "v1",
"id": "CVE-2025-4638-896ffc9a"
},
{
"target": {
"file": "surface/src/3rdparty/opennurbs/opennurbs_zlib.cpp"
},
"digest": {
"line_hashes": [
"136782776953135412937467136059416465158",
"110458794268363846693089669238631539255",
"263354597587748154763020415750074237993",
"223821636524468299286273832382372485888",
"279542666357318067735418905776482282396",
"227309763869449294412943433381806967990",
"300024253196399538696656521684273235706",
"20525459871724096279244981191323258620",
"307797107683726936971583923656594890370"
],
"threshold": 0.9
},
"signature_type": "Line",
"deprecated": false,
"source": "https://github.com/pointcloudlibrary/pcl/commit/502bd2b013ce635f21632d523aa8cf2e04f7b7ac",
"signature_version": "v1",
"id": "CVE-2025-4638-ee2f2f5d"
}
]