# CVE-2025-4638: Improper Pointer Arithmetic in pcl

- Severity: Critical 9.2 (CVSS:4.0, scored by GovTech CSG) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-01)
- Published: 2025-05-14T17:59:58.180Z
- Modified: 2026-06-17T09:33:39.670Z
- Weaknesses: CWE-119
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GovTech CSG

## 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.

(As written by CVE List.)

## Affected

- PointCloudLibrary pcl: before <1.15.0
- pointclouds point_cloud_library: before 1.14.0

## Every score

- GovTech CSG: CVSS:4.0 9.2 Critical `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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/PointCloudLibrary/pcl/pull/6245> (issue-tracking, patch)
- <https://github.com/PointCloudLibrary/pcl/blob/master/surface/CMakeLists.txt#L70> (product)
- <https://github.com/PointCloudLibrary/pcl/commit/502bd2b013ce635f21632d523aa8cf2e04f7b7ac> (patch)

## Sources

- CVE List: [CVE-2025-4638](https://www.cve.org/CVERecord?id=CVE-2025-4638), CVE Terms of Use, modified 2025-05-15
- NVD: [CVE-2025-4638](https://nvd.nist.gov/vuln/detail/CVE-2025-4638), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-4638 · Whole record: https://cve.day/CVE-2025-4638.json · Rebuilt by cve.day 2026-11-25T22:58:58.061Z
