Teng Zheng Wang by VulnGuard Labs
Avat Premium Security version before 26.4.10932.983
ashServ.dll
Windows 11
Application-level denial-of-service
A local unprivileged process can directly launch the signed Avast native-messaging host AvastNM.exe with a spoofed Avast browser-extension origin and send a length-prefixed JSON frame. AvastNM accepts the caller-supplied origin as trusted, registers with AvastSvc.exe, and forwards the JSON to ashServ.dll through AavmRpcNativeMessage.
ashServ.dll converts the top-level action field to a string before verifying its JSON type and without a catch boundary. If action is a JSON array or object, JsonCpp throws Json::LogicError("Type is not convertible to string"). The exception escapes the native-message dispatcher and can terminate AvastSvc.exe.
Therefore, missing exception handlers in AvastSvc.exe native message dispatcher (ashServ.dll) on Windows allow a local, unprivileged attacker to crash the service by sending specially crafted JSON messages. The vulnerability spans multiple handler pathways in the RPC-based native message protocol:
Log_NmSvc.message handler: converts JSON fields to strings without type validation and without exception boundaries. OpenInSz_NmSvc handler: converts URL and origin fields to strings without type checking, exposing an exception. OpenInSz_NmSvc.profile handler: converts the profile field to an integer without validation. In all three cases, the exceptions are not caught by action-specific handlers and propagate up the dispatcher. The common root cause is the absence of try-catch blocks around JSON type conversions in the native message processing chain.