ADVISORIES

Alpine Security Database

ALPINE-CVE-2026-47241

Details

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to 0.6.5 and 0.5.15, several Net::IMAP commands accept a raw string argument which is only validated to prevent CRLF injection and then sent verbatim. If this string is derived from user-controlled input, an attacker can force the next command to be absorbed as a continuation of the first command. This will cause the first command to eventually fail, but also prevents it from returning until another command is sent (from another thread). That other command will not return until the connection is closed. This vulnerability is fixed in 0.6.5 and 0.5.15.

Affected packages

EcosystemPackageAffected versions
Alpine:v3.21ruby-net-imap
All versions before 0.4.25-r0 (fixed in 0.4.25-r0)
Alpine:v3.22ruby-net-imap
All versions before 0.5.15-r0 (fixed in 0.5.15-r0)
Alpine:v3.23ruby-net-imap
All versions before 0.5.15-r0 (fixed in 0.5.15-r0)
Alpine:v3.24ruby-net-imap
All versions before 0.5.15-r0 (fixed in 0.5.15-r0)

References