A vulnerability, which was classified as problematic, was found in ruby net-imap up to 0.3.7/0.4.18/0.5.5. Affected is the function Net::IMAP. The manipulation leads to resource consumption.

This vulnerability is traded as CVE-2025-25186. It is possible to launch the attack remotely. There is no exploit available.

It is recommended to upgrade the affected component.