{"id":"CVE-2025-4638","aliases":["EUVD-2025-14916","GHSA-hg9g-m8wg-jv2x","MGASA-2025-0162","UBUNTU-CVE-2025-4638"],"status":"published","title":"Improper Pointer Arithmetic in pcl","description":"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.\n\nSince 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.","severity":{"version":"4.0","score":9.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:L/SA:H/AU:Y/R:U/V:D/RE:M/U:Amber","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00552,"percentile":0.46408,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2025-05-14T17:59:58Z","modified":"2026-10-28T11:01:44Z","fixes":[{"ecosystem":"Mageia:9","package":"zsync","fixed_in":["0.6.2-11.1.mga9"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Mageia:9","package":"zsync","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.2-11.1.mga9"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"pcl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.2-10build1","1.7.2-13","1.7.2-14build1","1.7.2-14build1.1","1.7.2-14ubuntu0.1","1.7.2-14ubuntu0.1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"pcl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.1+dfsg1-2ubuntu1","1.8.1+dfsg1-2ubuntu2","1.8.1+dfsg1-2ubuntu2.18.04.1","1.8.1+dfsg1-2ubuntu2.18.04.1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"pcl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.1+dfsg1-10ubuntu2","1.9.1+dfsg1-10ubuntu3","1.10.0+dfsg-4ubuntu2","1.10.0+dfsg-5ubuntu1","1.10.0+dfsg-5ubuntu1+esm1","1.10.0+dfsg-5ubuntu1+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"pcl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.11.1+dfsg-1build1","1.12.0+dfsg-5build1","1.12.0+dfsg-6","1.12.1+dfsg-3","1.12.1+dfsg-3build1","1.12.1+dfsg-3ubuntu0.1~esm1","1.12.1+dfsg-3ubuntu0.1~esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"pcl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.13.0+dfsg-3","1.13.0+dfsg-3build1","1.13.0+dfsg-4","1.13.0+dfsg-4build2","1.13.0+dfsg-4build3","1.14.0+dfsg-1","1.14.0+dfsg-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"pcl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.14.0+dfsg-5ubuntu1","1.15.0+dfsg-2","1.15.0+dfsg-2build2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"pcl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.15.1+dfsg-2","1.15.1+dfsg-3","1.15.1+dfsg-3build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"pcl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.15.0+dfsg-2build2","1.15.0+dfsg-3","1.15.1+dfsg-1","1.15.1+dfsg-2"]}],"products":[{"vendor":"pointcloudlibrary","product":"pcl"},{"vendor":"pointclouds","product":"point_cloud_library"}],"references":[{"url":"https://github.com/PointCloudLibrary/pcl/pull/6245","tags":["patch","Issue Tracking","Patch","fix","report"]},{"url":"https://github.com/PointCloudLibrary/pcl/blob/master/surface/CMakeLists.txt#L70","tags":["Product","web","report"]},{"url":"https://github.com/PointCloudLibrary/pcl/commit/502bd2b013ce635f21632d523aa8cf2e04f7b7ac","tags":["Patch","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-4638","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-hg9g-m8wg-jv2x"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/4xxx/CVE-2025-4638.json","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2025-0162.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=34301","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OPTP7IW7Z54KXHWHH6JSVJ75RDCVQ4Z7/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2025-4638","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-4638","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-4638","title":"Improper Pointer Arithmetic in pcl","description":"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.\n\nSince 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.","status":"published","published":"2025-05-14T17:59:58.18Z","modified":"2025-05-15T13:49:10.296Z","cvss":[{"version":"4.0","score":9.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:L/SA:H/AU:Y/R:U/V:D/RE:M/U:Amber","level":"critical","assessor":"cna"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:32:48.512547Z"}],"euvd":[{"id":"EUVD-2025-14916","description":"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.\n\nSince 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.","status":"published","published":"2025-05-14T17:59:58Z","modified":"2025-05-15T13:49:10Z","cvss":[{"version":"4.0","score":9.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:L/SA:H/AU:Y/R:U/V:D/RE:M/U:Amber","level":"critical"}],"updated_at":"2026-11-02T20:32:47.046718Z"}],"ghsa":[{"id":"GHSA-hg9g-m8wg-jv2x","title":"A vulnerability exists in the inftrees.c component of the zlib library, which is bundled within...","description":"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.\n\nSince 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.","status":"published","published":"2025-05-14T18:30:51Z","modified":"2025-10-21T15:32:02Z","cvss":[{"version":"4.0","score":9.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:L/SA:H/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:D/RE:M/U:Amber","level":"critical"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T15:04:02.994181Z"}],"nvd":[{"id":"CVE-2025-4638","description":"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.\n\nSince 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.","status":"published","published":"2025-05-14T18:15:33.597Z","modified":"2026-06-17T09:33:39.67Z","cvss":[{"version":"4.0","score":9.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:L/SA:H/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:D/RE:M/U:Amber","level":"critical","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:11:08.321805Z"}],"osv":[{"id":"CVE-2025-4638","title":"Improper Pointer Arithmetic in pcl","description":"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.\n\nSince 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.","status":"published","published":"2025-05-14T17:59:58.18Z","modified":"2026-10-28T11:01:44.952319381Z","cvss":[{"version":"4.0","score":9.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:L/SA:H/AU:Y/R:U/V:D/RE:M/U:Amber","level":"critical"}],"updated_at":"2026-11-02T15:44:49.707645Z"},{"id":"UBUNTU-CVE-2025-4638","description":"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.","status":"published","published":"2025-05-14T18:15:00Z","modified":"2026-10-17T12:56:52.336530989Z","cvss":[{"version":"4.0","score":9.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:L/SA:H/AU:Y/R:U/V:D/RE:M/U:Amber","level":"critical"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T16:55:50.31802Z"},{"id":"MGASA-2025-0162","title":"Updated zsync packages fix security vulnerabilities","description":"Improper Pointer Arithmetic in pcl. (CVE-2025-4638)\n","status":"published","published":"2025-05-24T23:25:56Z","modified":"2026-04-16T04:41:52.694641569Z","updated_at":"2026-11-02T15:49:43.178336Z"}]}}
