EVerest is an EV charging software stack. Prior to version 2025.10.0, an integer overflow occurring in SdpPacket::parse_header() 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 SIZE_MAX (or slightly less) because the expected type of the argument is size_t. 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.
{
"cwe_ids": [
"CWE-120",
"CWE-835"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68137.json"
}[
{
"deprecated": false,
"source": "https://github.com/everest/everest-core/commit/c86cd9c0ada60b5797f574fd484eae4d8330017d",
"id": "CVE-2025-68137-aed155c7",
"target": {
"file": "modules/EVSE/Auth/tests/auth_tests.cpp"
},
"digest": {
"line_hashes": [
"243003712789178062503146303338281965718",
"28960150712886505085483741986671241515",
"168243888782963850779708053776925040017",
"301503089711335497483477796302426921625",
"266559291961740525977226234582463159260",
"14112705696940663726721188972121718934",
"229722161894950827463204315700879441599",
"171855750029820596888200642603912303410",
"1847160579080647096042318630878208024"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://github.com/everest/everest-core/commit/c86cd9c0ada60b5797f574fd484eae4d8330017d",
"id": "CVE-2025-68137-e210278c",
"target": {
"file": "modules/EVSE/Auth/tests/auth_tests.cpp",
"function": "TEST_F"
},
"digest": {
"function_hash": "274524476206042087287404301418060636027",
"length": 1807.0
},
"signature_type": "Function",
"signature_version": "v1"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68137.json"