Collapse of Data into Unsafe Value Affecting net-imap package, versions <0.5.15>=0.6.0, <0.6.4.1


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.44% (64th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUBY-NETIMAP-17277057
  • published10 Jun 2026
  • disclosed9 Jun 2026
  • creditfg0x0

Introduced: 9 Jun 2026

NewCVE-2026-47241  (opens in a new tab)
CWE-162  (opens in a new tab)
CWE-182  (opens in a new tab)

How to fix?

Upgrade net-imap to version 0.5.15, 0.6.4.1 or higher.

Overview

Affected versions of this package are vulnerable to Collapse of Data into Unsafe Value incomplete validation of raw string arguments in certain IMAP command parameters (such as criteria, search_keys and attr). An attacker can cause commands to hang or trigger timeouts by supplying specially crafted input ending with a literal continuation marker, resulting in server misinterpretation and denial of service. This can be exploited by sending malicious input to affected command arguments, especially in multi-threaded environments where commands may be pipelined.

CVSS Base Scores

version 4.0
version 3.1