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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.2
- **CVSS:** 9.2 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: Low; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: Low; Availability impact on other systems: High; AU: Y; R: U; V: D; RE: M; U: Amber
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.04% (percentile 63, 2026-11-26)
- **CWE:** CWE-119
- **Published:** 2025-05-14T17:59:58.180Z
- **Modified:** 2026-06-17T09:33:39.670Z

## Who should check

- Anyone running PointCloudLibrary pcl \< \<1.15.0

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

## Affected and fixed versions

- PointCloudLibrary pcl: \< \<1.15.0 (cvelist)

## Mitigation

- Upgrade pcl to 1.15.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-4638. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-4638.md
Affected: PointCloudLibrary pcl < <1.15.0
Fixed in: PointCloudLibrary pcl 1.15.0

Steps:
1. Search this machine and project for PointCloudLibrary pcl: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-4638 being exploited?

There is no confirmed exploitation: CVE-2025-4638 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.04% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-4638?

Critical: CVSS 9.2 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-4638?

PointCloudLibrary pcl \< \<1.15.0.

### Is there a fix for CVE-2025-4638?

Yes. Fixed in PointCloudLibrary pcl 1.15.0. Upgrade pcl to 1.15.0 or later.

### How do I check if I'm affected by CVE-2025-4638?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/PointCloudLibrary/pcl/pull/6245>
- patch: <https://github.com/PointCloudLibrary/pcl/commit/502bd2b013ce635f21632d523aa8cf2e04f7b7ac>
- other: <https://github.com/PointCloudLibrary/pcl/blob/master/surface/CMakeLists.txt#L70>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-4638>

HTML: <https://flawdb.com/CVE-2025-4638> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-4638>
