A vulnerability was found in mbed TLS up to 3.6.3. It has been declared as problematic. Affected by this vulnerability is the function mbedtls_pem_read_buffer of the component PEM Handler. The manipulation leads to off-by-one.

This vulnerability is known as CVE-2025-52497. The attack can be launched remotely. There is no exploit available.

It is recommended to upgrade the affected component.