A vulnerability, which was classified as problematic, was found in GNU C Library up to 2.40. This affects the function assert. The manipulation leads to incorrect calculation of buffer size.

This vulnerability is uniquely identified as CVE-2025-0395. The attack needs to be done within the local network. There is no exploit available.