CVE-2025-68138

Source
https://cve.org/CVERecord?id=CVE-2025-68138
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68138.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-68138
Aliases
  • GHSA-f8c2-44c3-7v55
Published
2026-01-21T19:30:49.196Z
Modified
2026-02-07T22:22:40.290671Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L CVSS Calculator
Summary
EVerest affected by memory exhaustion in libocpp
Details

EVerest is an EV charging software stack, and EVerest libocpp is a C++ implementation of the Open Charge Point Protocol. In libocpp prior to version 0.30.1, pointers returned by the strdup calls are never freed. At each connection attempt, the newly allocated memory area will be leaked, potentially causing memory exhaustion and denial of service. Version 0.30.1 fixes the issue.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68138.json",
    "cwe_ids": [
        "CWE-770"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/everest/libocpp

Affected ranges

Type
GIT
Repo
https://github.com/everest/libocpp
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*
v0.1.0
v0.10.0
v0.11.0
v0.12.0
v0.13.0
v0.13.1
v0.14.0
v0.15.0
v0.15.1
v0.16.0
v0.16.1
v0.16.2
v0.17.0
v0.17.1
v0.17.2
v0.18.0
v0.19.0
v0.2.0
v0.20.0
v0.21.0
v0.22.0
v0.23.0
v0.24.1
v0.24.2
v0.25.0
v0.26.0
v0.26.1
v0.26.2
v0.26.3
v0.27.0
v0.27.1
v0.28.0
v0.29.0
v0.3.0
v0.30.0
v0.4.0
v0.4.1
v0.5.0
v0.5.1
v0.5.2
v0.6.1
v0.7.0
v0.8.0
v0.8.1
v0.8.5
v0.8.6
v0.8.7
v0.9.3
v0.9.4
v0.9.5
v0.9.6
v0.9.7
v0.9.8

Database specific

vanir_signatures
[
    {
        "target": {
            "file": "lib/ocpp/v16/charge_point_impl.cpp"
        },
        "id": "CVE-2025-68138-04551c11",
        "digest": {
            "line_hashes": [
                "280415372501024428424000212732151750473",
                "320402883727709006438697207218431066612",
                "311578272350348683230613191031751270004",
                "166658477097279531410134347126851606925"
            ],
            "threshold": 0.9
        },
        "source": "https://github.com/everest/libocpp/commit/157ba65d9487c149dcd0ed31179a738c4b5ca343",
        "signature_version": "v1",
        "deprecated": false,
        "signature_type": "Line"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68138.json"