CVE Catalog

CVE-2026-58927

Unknown
Published: Translated: NVD NIST

Summary

The vulnerability is a Use-After-Free (UAF) in the EVS AIDL HAL, arising from a data race on an unsynchronized std::weak_ptr within EvsEnumerator::openCamera(). Specifically, concurrent calls from a privileged UID (e.g., AID_AUTOMOTIVE_EVS) can cause a torn weak_ptr state, leading to a virtual call through a freed object's vtable at cameraObj->getCameraInfo(&desc). This allows for potential arbitrary code execution within the hal_evs_default process.

Risk Assessment

A privileged client could trigger arbitrary code execution in the HAL process, potentially compromising a high-privilege service. This requires a privileged UID.

Recommendation

Update the EVS HAL to a version that synchronizes weak_ptr access in EvsEnumerator::openCamera(). Restrict access to AID_AUTOMOTIVE_EVS to trusted components only.

Related vulnerabilities

Original NVD description (English source)

The vulnerability is a Use-After-Free (UAF) in the EVS AIDL HAL, arising from a data race on an unsynchronized `std::weak_ptr` within `EvsEnumerator::openCamera()`. Specifically, concurrent calls from a privileged UID (e.g., `AID_AUTOMOTIVE_EVS`) can cause a torn `weak_ptr` state, leading to a virtual call through a freed object's vtable at `cameraObj->getCameraInfo(&desc)`. This allows for potential arbitrary code execution within the `hal_evs_default` process.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS