CVE-2025-68137: EVerest's Integer Overflow and Signed to Unsigned conversion lead to either stack buffer overflow or infinite loop
EVerest is an EV charging software stack. Prior to version 2025.10.0, an integer overflow occurring in SdpPacket::parseheader() allows the current buffer length to be set to 7 after a complete header of size 8 has been read. The remaining length to read is computed using the current length subtracted by the header length which results in a negative value. This value is then interpreted as SIZEMAX (or slightly less) because the expected type of the argument is sizet. Depending on whether the server is plain TCP or TLS, this leads to either an infinite loop or a stack buffer overflow. Version 2025.10.0 fixes the issue.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-68137?
CVE-2025-68137 has a high severity due to potential for stack buffer overflow or infinite loop.
How do I fix CVE-2025-68137?
To mitigate CVE-2025-68137, update the EVerest software to version 2025.10.0 or later.
What specific vulnerability does CVE-2025-68137 exploit?
CVE-2025-68137 exploits an integer overflow in the `SdpPacket::parse_header()` function.
What are the potential impacts of CVE-2025-68137?
CVE-2025-68137 can lead to stack buffer overflow, causing remote code execution or system crashes.
Which versions of EVerest are affected by CVE-2025-68137?
EVerest versions prior to 2025.10.0 are affected by CVE-2025-68137.