A vulnerability was found in xmlsoft libxml2 up to 2.12.9/2.13.5. It has been classified as critical. This affects the function xmlSnprintfElements of the file valid.c. The manipulation leads to stack-based buffer overflow.

This vulnerability is uniquely identified as CVE-2025-24928. It is possible to initiate the attack remotely. There is no exploit available.

It is recommended to upgrade the affected component.