CVE-2025-4640

Source
https://cve.org/CVERecord?id=CVE-2025-4640
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-4640.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-4640
Downstream
Published
2025-05-14T18:06:51.766Z
Modified
2026-07-09T19:34:56.701539Z
Severity
  • 8.3 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/AU:Y/R:U/V:C/RE:L/U:Amber CVSS Calculator
Summary
Out-of-bounds Write in pcl
Details

Out-of-bounds Write vulnerability in PointCloudLibrary pcl allows Overflow Buffers. 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.

Database specific
{
    "cna_assigner": "GovTech CSG",
    "cwe_ids": [
        "CWE-787"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/4xxx/CVE-2025-4640.json"
}
References

Affected packages

Git / github.com/pointcloudlibrary/pcl

Affected ranges

Type
GIT
Repo
https://github.com/pointcloudlibrary/pcl
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "<1.15.0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

pcl-1.*
pcl-1.0-ros
pcl-1.10.0
pcl-1.10.1
pcl-1.11.0
pcl-1.11.1
pcl-1.11.1-rc1
pcl-1.11.1-rc2
pcl-1.12.0
pcl-1.12.0-rc1
pcl-1.12.1
pcl-1.13.0
pcl-1.13.0-rc1
pcl-1.8.0
pcl-1.8.0rc1
pcl-1.8.0rc2
pcl-1.9.0
pcl-1.9.1

Database specific

vanir_signatures_modified
"2026-07-09T19:34:56Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-4640.json"
vanir_signatures
[
    {
        "signature_type": "Line",
        "target": {
            "file": "surface/include/pcl/surface/3rdparty/opennurbs/opennurbs_zlib.h"
        },
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "142507249250011048393637035603308527531",
                "183792250313666141464654538174142285961",
                "322051085261934477892702746723805144375",
                "9645395726226507733371715164106126177"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2025-4640-896ffc9a",
        "source": "https://github.com/pointcloudlibrary/pcl/commit/502bd2b013ce635f21632d523aa8cf2e04f7b7ac",
        "signature_version": "v1"
    },
    {
        "signature_type": "Line",
        "target": {
            "file": "surface/src/3rdparty/opennurbs/opennurbs_zlib.cpp"
        },
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "136782776953135412937467136059416465158",
                "110458794268363846693089669238631539255",
                "263354597587748154763020415750074237993",
                "223821636524468299286273832382372485888",
                "279542666357318067735418905776482282396",
                "227309763869449294412943433381806967990",
                "300024253196399538696656521684273235706",
                "20525459871724096279244981191323258620",
                "307797107683726936971583923656594890370"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2025-4640-ee2f2f5d",
        "source": "https://github.com/pointcloudlibrary/pcl/commit/502bd2b013ce635f21632d523aa8cf2e04f7b7ac",
        "signature_version": "v1"
    }
]