The issue arises when decoding BER data, potentially leading to an integer overflow. This overflow causes an incorrect length field to be computed. Some API callers may utilize the returned length field, which could be controlled by an attacker, resulting in memory corruption or other failures.