# CVE-2025-68138: EVerest affected by memory exhaustion in libocpp

- Severity: Medium 4.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L`
- 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.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-01-21T19:30:49.196Z
- Modified: 2026-06-17T09:58:35.043Z
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- EVerest everest-core: libocpp < 0.30.1
- linuxfoundation libocpp: before 0.30.1

## References

- <https://github.com/EVerest/everest-core/security/advisories/GHSA-f8c2-44c3-7v55> (vendor-advisory)
- <https://github.com/EVerest/libocpp/blob/89c7b62ec899db637f43b54f19af2c4af30cfa66/lib/ocpp/common/websocket/websocket_libwebsockets.cpp> (product)

## Sources

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

---

Page: https://cve.day/CVE-2025-68138 · Whole record: https://cve.day/CVE-2025-68138.json · Rebuilt by cve.day 2026-11-25T22:59:10.752Z
