CVE-2025-4638Improper Pointer Arithmetic in pcl
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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | pcl | Fix pending | UBUNTU-CVE-2025-4638 | |
| Ubuntu 26.04 | pcl | Under investigation | UBUNTU-CVE-2025-4638 | |
| Ubuntu 25.10 | pcl | Will not fix related to CVE-2025-4640. The patch mentioned in this CVE fixes the vendored zlib code in pcl. | UBUNTU-CVE-2025-4638 | |
| Ubuntu 24.04 | pcl | Fix pending | UBUNTU-CVE-2025-4638 | |
| Ubuntu 22.04 | pcl | Fix pending | UBUNTU-CVE-2025-4638 | |
| Ubuntu 20.04 | pcl | Fix pending | UBUNTU-CVE-2025-4638 | |
| Ubuntu 18.04 | pcl | Fix pending | UBUNTU-CVE-2025-4638 | |
| Ubuntu 16.04 | pcl | Fix pending | UBUNTU-CVE-2025-4638 |
What the vendor says
As published in the CVE record by GovTech CSG, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- PointCloudLibrary pcl: affected: before <1.15.0
Vendor advisories:
References
- https://github.com/PointCloudLibrary/pcl/pull/6245
- https://github.com/PointCloudLibrary/pcl/blob/master/surface/CMakeLists.txt#L70
- https://github.com/PointCloudLibrary/pcl/commit/502bd2b013ce635f21632d523aa8cf2e04f7b7ac
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.