A vulnerability was found in OpenHarmony up to 4.1.2. It has been classified as critical. Affected is an unknown function. The manipulation leads to use after free.

This vulnerability is traded as CVE-2025-0304. An attack has to be approached locally. There is no exploit available.

It is recommended to upgrade the affected component.